Class GLShaderSettings
Class GLShaderSettings.
Inherited Members
Namespace: VisioForge.Core.Types.X.OpenGL
Assembly: VisioForge.Core.dll
Syntax
public class GLShaderSettings
Constructors
GLShaderSettings()
Initializes a new instance of the GLShaderSettings class.
Declaration
public GLShaderSettings()
GLShaderSettings(string, string)
Initializes a new instance of the GLShaderSettings class.
Declaration
public GLShaderSettings(string vertex, string fragment)
Parameters
| Type | Name | Description |
|---|---|---|
| string | vertex | The vertex. |
| string | fragment | The fragment. |
GLShaderSettings(GLShader)
Initializes a new instance of the GLShaderSettings class.
Declaration
public GLShaderSettings(GLShader shader)
Parameters
| Type | Name | Description |
|---|---|---|
| GLShader | shader | The shader. |
Properties
Fragment
GLSL fragment source.
Declaration
public string Fragment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uniforms
Uniforms (parameters).
Declaration
public Dictionary<string, object> Uniforms { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Vertex
GLSL vertex source.
Declaration
public string Vertex { get; set; }
Property Value
| Type | Description |
|---|---|
| string |