
## GLSLSource class

The source code of shaders in GLSL



**Inheritance:** [`GLSLSource`](/3d/python-net/aspose.threed.render/glslsource) → 
[`ShaderSource`](/3d/python-net/aspose.threed.render/shadersource)



The GLSLSource type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [`__init__(self)`](/3d/python-net/aspose.threed.render/glslsource/__init__/#) | Constructs a new instance of GLSLSource |


### Properties
| Property | Description |
| :- | :- |
| [compute_shader](/3d/python-net/aspose.threed.render/glslsource/compute_shader) | Gets or sets the source code of the compute shader. |
| [geometry_shader](/3d/python-net/aspose.threed.render/glslsource/geometry_shader) | Gets or sets the source code of the geometry shader. |
| [vertex_shader](/3d/python-net/aspose.threed.render/glslsource/vertex_shader) | Gets or sets the source code of the vertex shader |
| [fragment_shader](/3d/python-net/aspose.threed.render/glslsource/fragment_shader) | Gets or sets the source code of the fragment shader. |


### Methods
| Method | Description |
| :- | :- |
| [`define_include(self, file_name, content)`](/3d/python-net/aspose.threed.render/glslsource/define_include/#str-str) | Define virtual file for #include in GLSL source code |



### See Also
* module [`aspose.threed.render`](..)
* class [`GLSLSource`](/3d/python-net/aspose.threed.render/glslsource)
* class [`ShaderSource`](/3d/python-net/aspose.threed.render/shadersource)
