Skip to main content
Version: Next

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.Object → System.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.