GLSLSource
Overview
GLSLSource is a class in Aspose.3D FOSS for .NET.
Inherits from: ShaderSource.
The source code of shaders in GLSL
This class provides 2 methods for working with GLSLSource objects in .NET programs.
Available methods include: DefineInclude, GLSLSource.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: ComputeShader, FragmentShader, GeometryShader, VertexShader.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ComputeShader | string | Read/Write | Gets or sets the source code of the compute shader. |
GeometryShader | string | Read/Write | Gets or sets the source code of the geometry shader. |
VertexShader | string | Read/Write | Gets or sets the source code of the vertex shader |
FragmentShader | string | Read/Write | Gets or sets the source code of the fragment shader. |
Methods
| Signature | Description |
|---|---|
GLSLSource() | GLSL source |
DefineInclude(fileName: string, content: string) | Not implemented in the FOSS edition — throws at runtime. Define virtual file for #include in GLSL source code |