Struct qt_gui::q_opengl_debug_message::Source
source · pub struct Source(/* private fields */);
Expand description
The Source enum defines the source of the debug message.
C++ enum: QOpenGLDebugMessage::Source
.
The Source enum defines the source of the debug message.
The Sources type is a typedef for QFlags<Source>. It stores an OR combination of Source values.
Implementations§
source§impl Source
impl Source
sourcepub const InvalidSource: Source = _
pub const InvalidSource: Source = _
The source of the message is invalid; this is the source of a default-constructed QOpenGLDebugMessage object. (C++ enum variant: InvalidSource = 0
)
sourcepub const APISource: Source = _
pub const APISource: Source = _
The message was generated in response to OpenGL API calls. (C++ enum variant: APISource = 1
)
sourcepub const WindowSystemSource: Source = _
pub const WindowSystemSource: Source = _
The message was generated by the window system. (C++ enum variant: WindowSystemSource = 2
)
sourcepub const ShaderCompilerSource: Source = _
pub const ShaderCompilerSource: Source = _
The message was generated by the shader compiler. (C++ enum variant: ShaderCompilerSource = 4
)
sourcepub const ThirdPartySource: Source = _
pub const ThirdPartySource: Source = _
The message was generated by a third party, for instance an OpenGL framework a or debugging toolkit. (C++ enum variant: ThirdPartySource = 8
)
sourcepub const ApplicationSource: Source = _
pub const ApplicationSource: Source = _
The message was generated by the application itself. (C++ enum variant: ApplicationSource = 16
)
sourcepub const OtherSource: Source = _
pub const OtherSource: Source = _
The message was generated by a source not included in this enumeration. (C++ enum variant: OtherSource = 32
)
sourcepub const LastSource: Source = _
pub const LastSource: Source = _
C++ enum variant: LastSource = 32