Class ShaderSet

ShaderSet class

Shader programs for each kind of materials

public class ShaderSet : IDisposable

Constructors

NameDescription
ShaderSet()Construct the instance of ShaderSet

Properties

NameDescription
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

NameDescription
Dispose()Dispose this instance and release all shader programs.

See Also