Skip to main content
Version: 1.0.0-preview.38

Velaptor.OpenGL.Exceptions.ShaderCompileException

Velaptor

Velaptor.OpenGL.Exceptions

ShaderCompileException Class

Thrown when there is an issue compiling a shader.

public sealed class ShaderCompileException : System.Exception

Inheritance System.ObjectSystem.Exception → ShaderCompileException

Constructors

ShaderCompileException() Constructor

Initializes a new instance of the ShaderCompileException class.

public ShaderCompileException();

ShaderCompileException(string, string) Constructor

Initializes a new instance of the ShaderCompileException class.

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

Parameters

message System.String

The message that describes the error.

bufferName System.String

The name of the buffer.

ShaderCompileException(string, Exception) Constructor

Initializes a new instance of the ShaderCompileException class.

public ShaderCompileException(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.