Table of Contents

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

BufferBindingConfigurationCollection

Framebuffer

Gets the configuration state of the framebuffer object used for render to texture passes.

protected FramebufferConfiguration Framebuffer { get; }

Property Value

FramebufferConfiguration

FramebufferAttachments

Gets the collection of configuration objects specifying any framebuffer attachments to use when running the shader.

public Collection<FramebufferAttachmentConfiguration> FramebufferAttachments { get; }

Property Value

Collection<FramebufferAttachmentConfiguration>

RenderState

Gets the collection of configuration objects specifying the render states which are required to run the shader.

public StateConfigurationCollection RenderState { get; }

Property Value

StateConfigurationCollection

ShaderUniforms

Gets the collection of configuration objects specifying the default values of uniform variables in the shader program.

public UniformConfigurationCollection ShaderUniforms { get; }

Property Value

UniformConfigurationCollection