Class ShaderConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Provides the abstract base class for configuring and loading shader resources.
public abstract class ShaderConfiguration : ResourceConfiguration<Shader>, IResourceConfiguration
- Inheritance
-
ShaderConfiguration
- Implements
- Derived
- Inherited Members
Properties
BufferBindings
Gets the collection of configuration objects specifying the buffer bindings to set before running the shader.
public BufferBindingConfigurationCollection BufferBindings { get; }
Property Value
Framebuffer
Gets the configuration state of the framebuffer object used for render to texture passes.
protected FramebufferConfiguration Framebuffer { get; }
Property Value
FramebufferAttachments
Gets the collection of configuration objects specifying any framebuffer attachments to use when running the shader.
public Collection<FramebufferAttachmentConfiguration> FramebufferAttachments { get; }
Property Value
RenderState
Gets the collection of configuration objects specifying the render states which are required to run the shader.
public StateConfigurationCollection RenderState { get; }
Property Value
ShaderUniforms
Gets the collection of configuration objects specifying the default values of uniform variables in the shader program.
public UniformConfigurationCollection ShaderUniforms { get; }