GLSLSource class

GLSLSource class

The source code of shaders in GLSL

Inheritance: GLSLSourceShaderSource

The GLSLSource type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Constructs 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_include(self, file_name, content)Define virtual file for #include in GLSL source code

See Also