GLSLSource class

GLSLSource class

The source code of shaders in GLSL

Inheritance: GLSLSourceShaderSource

The GLSLSource type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of GLSLSource

Properties

PropertyDescription
compute_shaderGets or sets the source code of the compute shader.
geometry_shaderGets or sets the source code of the geometry shader.
vertex_shaderGets or sets the source code of the vertex shader
fragment_shaderGets or sets the source code of the fragment shader.

Methods

MethodDescription
define_includeDefine virtual file for #include in GLSL source code

See Also