## GLSLSource class

The source code of shaders in GLSL

```csharp
public sealed class GLSLSource : ShaderSource
```

## Constructors

| Name | Description |
| --- | --- |
| [GLSLSource](glslsource/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [ComputeShader](../../aspose.threed.render/glslsource/computeshader/) { get; set; } | Gets or sets the source code of the compute shader. |
| [FragmentShader](../../aspose.threed.render/glslsource/fragmentshader/) { get; set; } | Gets or sets the source code of the fragment shader. |
| [GeometryShader](../../aspose.threed.render/glslsource/geometryshader/) { get; set; } | Gets or sets the source code of the geometry shader. |
| [VertexShader](../../aspose.threed.render/glslsource/vertexshader/) { get; set; } | Gets or sets the source code of the vertex shader |

## Methods

| Name | Description |
| --- | --- |
| [DefineInclude](../../aspose.threed.render/glslsource/defineinclude/)(string, string) | Define virtual file for #include in GLSL source code |

### See Also

* class [ShaderSource](../shadersource/)
* namespace [Aspose.ThreeD.Render](../../aspose.threed.render/)
* assembly [Aspose.3D](../../)


