struct Gloop::Debug::Message


Debug information received from OpenGL.

Defined in:



Instance Method Summary

Constructor Detail

def : Source, type : Type, id : UInt32, severity : Severity, message : String) #

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.

[View source]

Instance Method Detail

def id : UInt32 #

Message ID.

[View source]
def insert(context) : Nil #

Inserts this debug message into the specified context.

  • OpenGL function: glDebugMessageInsert
  • OpenGL version: 4.3

[View source]
def message : String #

Text in the message.

[View source]
def severity : Severity #

Importance of the message.

[View source]
def source : Source #

Source that produced the message.

[View source]
def to_s(io) #

Produces a log-like string from the contents of the debug message.

[View source]
def type : Type #

Type of message.

[View source]