ShaderSet
Overview
ShaderSet is a class in Aspose.3D FOSS for .NET.
Inherits from: IDisposable.
Shader programs for each kind of materials
This class provides 2 methods for working with ShaderSet objects in .NET programs.
Available methods include: Dispose, ShaderSet.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Fallback, Lambert, Pbr, Phong.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Lambert | ShaderProgram | Read/Write | Gets or sets the shader that used to render the lambert material |
Phong | ShaderProgram | Read/Write | Gets or sets the shader that used to render the phong material |
Pbr | ShaderProgram | Read/Write | Gets or sets the shader that used to render the PBR material |
Fallback | ShaderProgram | Read/Write | Gets or sets the fallback shader when required shader is unavailable |
Methods
| Signature | Description |
|---|---|
ShaderSet() | Construct the instance of |
Dispose() | Dispose this instance and release all shader programs. |