Class GLSLSource

GLSLSource class

The source code of shaders in GLSL

public sealed class GLSLSource : ShaderSource

Constructors

NameDescription
GLSLSource()The default constructor.

Properties

NameDescription
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

NameDescription
DefineInclude(string, string)Define virtual file for #include in GLSL source code

See Also