struct Gloop::Debug::Message
- Gloop::Debug::Message
- Struct
- Value
- Object
Overview
Debug information received from OpenGL.
Defined in:
gloop/debug/message.crConstructors
-
.new(source : Source, type : Type, id : UInt32, severity : Severity, message : String)
Creates a new message intended to be sent to the OpenGL debug message queue.
Instance Method Summary
-
#id : UInt32
Message ID.
-
#insert(context) : Nil
Inserts this debug message into the specified context.
-
#message : String
Text in the message.
-
#severity : Severity
Importance of the message.
-
#source : Source
Source that produced the message.
-
#to_s(io)
Produces a log-like string from the contents of the debug message.
-
#type : Type
Type of message.
Constructor Detail
Creates a new message intended to be sent to the OpenGL debug message queue.
The source indicates where the message came from.
It should be Source::Application
or Source::ThirdParty
.
Instance Method Detail
def insert(context) : Nil
#
Inserts this debug message into the specified context.
- OpenGL function:
glDebugMessageInsert
- OpenGL version: 4.3