Class MaterialConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Provides configuration and loading functionality for material shader programs.
public class MaterialConfiguration : ShaderConfiguration, IResourceConfiguration
- Inheritance
-
MaterialConfiguration
- Implements
- Inherited Members
Properties
- FragmentShader
Gets or sets the path to the fragment shader file.
- GeometryShader
Gets or sets the path to the geometry shader file.
- MeshName
Gets or sets the name of the mesh geometry to draw.
- VertexShader
Gets or sets the path to the vertex shader file.
Methods
- CreateResource(ResourceManager)
Creates a new material shader resource.
- ToString()
Returns a string that represents the current object.