Table of Contents

Class Material

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Provides functionality for rendering geometry using a shaded material pass using the specified vertex, geometry or fragment shader.

public class Material : Effect, IDisposable
Inheritance
Material
Implements
Inherited Members

Properties

Mesh

Gets the geometry to draw when running the material pass.

Methods

OnDispatch()

Returns any actions that should be executed before running the shader program.