Class ShaderSet
ShaderSet class
Shader programs for each kind of materials
public class ShaderSet : IDisposable
Constructors
| Name | Description |
|---|
| ShaderSet() | Construct the instance of ShaderSet |
Properties
| Name | Description |
|---|
| Fallback { get; set; } | Gets or sets the fallback shader when required shader is unavailable |
| Lambert { get; set; } | Gets or sets the shader that used to render the lambert material |
| Pbr { get; set; } | Gets or sets the shader that used to render the PBR material |
| Phong { get; set; } | Gets or sets the shader that used to render the phong material |
Methods
| Name | Description |
|---|
| Dispose() | Dispose this instance and release all shader programs. |
See Also