Type Definition nannou::ui::backend::glium::glium::debug::DebugCallback[][src]

type DebugCallback = Box<FnMut(Source, MessageType, Severity, u32, bool, &str) + 'static>;

Represents a callback that can be used for the debug output feature of OpenGL.

The first three parameters are self-explanatory. The fourth parameter is an identifier for this message whose meaning is implementation-defined. The fifth parameter indicates whether glium is already handling any possible error condition, so you don't need to print an error. The last parameter is a message generated by the OpenGL implementation.