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

NameTypeAccessDescription
LambertShaderProgramRead/WriteGets or sets the shader that used to render the lambert material
PhongShaderProgramRead/WriteGets or sets the shader that used to render the phong material
PbrShaderProgramRead/WriteGets or sets the shader that used to render the PBR material
FallbackShaderProgramRead/WriteGets or sets the fallback shader when required shader is unavailable

Methods

SignatureDescription
ShaderSet()Construct the instance of
Dispose()Dispose this instance and release all shader programs.

See Also

 English