Skip to main content
Version: 1.0.0-preview.36

Velaptor.OpenGL.Exceptions.ShaderLinkException

Velaptor

Velaptor.OpenGL.Exceptions

ShaderLinkException Class

Thrown when there is an issue linking a shader.

public sealed class ShaderLinkException : System.Exception

Inheritance System.ObjectSystem.Exception → ShaderLinkException

Constructors

ShaderLinkException() Constructor

Initializes a new instance of the ShaderLinkException class.

public ShaderLinkException();

ShaderLinkException(string, string) Constructor

Initializes a new instance of the ShaderLinkException class.

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

Parameters

message System.String

The message that describes the error.

bufferName System.String

The name of the buffer.

ShaderLinkException(string, Exception) Constructor

Initializes a new instance of the ShaderLinkException class.

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