Class GLDebug
- Namespace
- ReFuel.Graphics.OpenGL
- Assembly
- ReFuel.dll
- Inheritance
-
GLDebug
- Inherited Members
-
Properties
Logger
public Logger Logger { get; set; }
Property Value
- Logger
TraceStack
public bool TraceStack { get; set; }
Property Value
- bool
Methods
Enable(bool)
[Conditional("DEBUG")]
public static void Enable(bool flag = true)
Parameters
flag bool
EnableSynchronous(bool)
[Conditional("DEBUG")]
public static void EnableSynchronous(bool flag = true)
Parameters
flag bool
MuteAnnoyingMessages()
public static void MuteAnnoyingMessages()
OnDebugMessage(DebugSource, DebugType, uint, DebugSeverity, string)
protected virtual void OnDebugMessage(DebugSource source, DebugType type, uint id, DebugSeverity severity, string message)
Parameters
source DebugSource
type DebugType
id uint
severity DebugSeverity
message string
PopDebugGroup()
[Conditional("DEBUG")]
public static void PopDebugGroup()
PushDebugGroup(string)
[Conditional("DEBUG")]
public static void PushDebugGroup(string name)
Parameters
name string
Send(DebugType, uint, DebugSeverity, string)
[Conditional("DEBUG")]
public static void Send(DebugType type, uint id, DebugSeverity severity, string message)
Parameters
type DebugType
id uint
severity DebugSeverity
message string
Subscribe()
[Conditional("DEBUG")]
public void Subscribe()
Unsubscribe()
[Conditional("DEBUG")]
public void Unsubscribe()
Events
DebugMessageReceived
public event DebugMessageReceivedEventHandler? DebugMessageReceived
Event Type
- DebugMessageReceivedEventHandler