Enum glium::debug::DebugCallbackBehavior
[−]
[src]
pub enum DebugCallbackBehavior {
Ignore,
DebugMessageOnError,
PrintAll,
Custom {
callback: DebugCallback,
synchronous: bool,
},
}Describes the behavior that the debug output should have.
Variants
IgnoreDon't do anything. This is the default behavior in release.
DebugMessageOnErrorPrint a message on stdout on error, except in some circumstances like when compiling shaders. This is the default behavior in debug mode.
PrintAllPrint every single output received by the driver.
CustomUse a custom callback.
Fields of Custom
callback: DebugCallback | The function to be called. |
synchronous: bool | Whether or not it should be called immediately (true) or asynchronously (false). |
Trait Implementations
impl Default for DebugCallbackBehavior[src]
fn default() -> DebugCallbackBehavior[src]
Returns the "default value" for a type. Read more