Class GLSLSource
GLSLSource class
The source code of shaders in GLSL
public sealed class GLSLSource : ShaderSource
Constructors
| Name | Description |
|---|
| GLSLSource() | The default constructor. |
Properties
| Name | Description |
|---|
| ComputeShader { get; set; } | Gets or sets the source code of the compute shader. |
| FragmentShader { get; set; } | Gets or sets the source code of the fragment shader. |
| GeometryShader { get; set; } | Gets or sets the source code of the geometry shader. |
| VertexShader { get; set; } | Gets or sets the source code of the vertex shader |
Methods
| Name | Description |
|---|
| DefineInclude(string, string) | Define virtual file for #include in GLSL source code |
See Also