Skip to main content
Version: 1.0.0-preview.34

Velaptor.OpenGL.Exceptions.GLException

Velaptor

Velaptor.OpenGL.Exceptions

GLException Class

Thrown when an error has been thrown by OpenGL.

public sealed class GLException : System.Exception

Inheritance System.ObjectSystem.Exception → GLException

Constructors

GLException() Constructor

Initializes a new instance of the GLException class.

public GLException();

GLException(string, string) Constructor

Initializes a new instance of the GLException class.

public GLException(string message, string bufferName="");

Parameters

message System.String

The message that describes the error.

bufferName System.String

The name of the buffer.

GLException(string, Exception) Constructor

Initializes a new instance of the GLException class.

public GLException(string message, System.Exception innerException);

Parameters

message System.String

The message that describes the error.

innerException System.Exception

The System.Exception instance that caused the current exception.