Class GLShader
Class GLShader.
Inherited Members
Namespace: VisioForge.Core.Types.X.OpenGL
Assembly: VisioForge.Core.dll
Syntax
public class GLShader
Constructors
GLShader()
Initializes a new instance of the GLShader class.
Declaration
public GLShader()
GLShader(string, string)
Initializes a new instance of the GLShader class.
Declaration
public GLShader(string vertexShader, string fragmentShader)
Parameters
Type | Name | Description |
---|---|---|
string | vertexShader | The vertex shader. |
string | fragmentShader | The fragment shader. |
Properties
FragmentShader
Gets or sets the fragment shader.
Declaration
public string FragmentShader { get; set; }
Property Value
Type | Description |
---|---|
string | The fragment shader. |
VertexShader
Gets or sets the vertex shader.
Declaration
public string VertexShader { get; set; }
Property Value
Type | Description |
---|---|
string | The vertex shader. |