Skip to main content
Version: 1.0.0-preview.38

Velaptor.OpenGL.Exceptions.ShaderNotInitializedException

Velaptor

Velaptor.OpenGL.Exceptions

ShaderNotInitializedException Class

Thrown when a shader has not been initialized.

public sealed class ShaderNotInitializedException : System.Exception

Inheritance System.ObjectSystem.Exception → ShaderNotInitializedException

Constructors

ShaderNotInitializedException() Constructor

Initializes a new instance of the ShaderNotInitializedException class.

public ShaderNotInitializedException();

ShaderNotInitializedException(string, string) Constructor

Initializes a new instance of the ShaderNotInitializedException class.

public ShaderNotInitializedException(string message, string shaderName="");

Parameters

message System.String

The message that describes the error.

shaderName System.String

The name of the shader.

ShaderNotInitializedException(string, Exception) Constructor

Initializes a new instance of the ShaderNotInitializedException class.

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