Class ComputeProgramConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Provides configuration and loading functionality for compute shader programs.
public class ComputeProgramConfiguration : ShaderConfiguration, IResourceConfiguration
- Inheritance
-
ComputeProgramConfiguration
- Implements
- Inherited Members
Properties
- ComputeShader
Gets or sets the path to the compute shader file.
- WorkGroups
Gets or sets a value specifying the number of workgroups to be launched when dispatching the compute shader.
Methods
- CreateResource(ResourceManager)
Creates a new compute shader program resource.
- ToString()
Returns a string that represents the current object.