GLSLSource class
GLSLSource class
The source code of shaders in GLSL
Inheritance: GLSLSource →
ShaderSource
The GLSLSource type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Constructs a new instance of GLSLSource |
Properties
| Property | Description |
|---|---|
| compute_shader | Gets or sets the source code of the compute shader. |
| geometry_shader | Gets or sets the source code of the geometry shader. |
| vertex_shader | Gets or sets the source code of the vertex shader |
| fragment_shader | Gets or sets the source code of the fragment shader. |
Methods
| Method | Description |
|---|---|
define_include(self, file_name, content) | Define virtual file for #include in GLSL source code |
See Also
- module
aspose.threed.render - class
GLSLSource - class
ShaderSource