Class ShaderProgram
Represents a shader program consisting of a vertex shader and a fragment shader.
Inheritance
ShaderProgram
Inherited Members
Namespace: Genesis.Graphics
Assembly: Genesis.dll
Syntax
public class ShaderProgram
Constructors
ShaderProgram()
Default constructor for the ShaderProgram class.
Declaration
public ShaderProgram()
Properties
FragmentShader
Gets or sets the fragment shader associated with the program.
Declaration
public Shader FragmentShader { get; set; }
Property Value
Type | Description |
---|---|
Shader |
ProgramID
Gets or sets the ID of the shader program.
Declaration
public int ProgramID { get; set; }
Property Value
Type | Description |
---|---|
int |
VertexShader
Gets or sets the vertex shader associated with the program.
Declaration
public Shader VertexShader { get; set; }
Property Value
Type | Description |
---|---|
Shader |