class
render::RendererMaterialBase
Base class for all RendererMaterial instances, containing common data and methods.
Public
Methods
~RendererMaterialBase
Initialize
Initializes the material.
Use this instead of the constructor to perform any one-time setup before using the material.
GetGpuParameterSet
Returns the internal parameter set containing GPU bindable parameters.
CreateGpuParameterSet
Creates a new instance of GPU parameters for this material.
GetGraphicsPipeline
Returns the material's graphics pipeline state.
This will be null if the material is a compute material.
GetComputePipeline
Returns the material's compute pipeline state.
This will be null if the material is a graphics material.
Bind
Binds the materials and its parameters to the pipeline.
This material will be used for rendering any subsequent draw calls, or executing dispatch calls. If is false you need to call BindParameters() separately to bind material parameters (if any).
BindParameters
Binds the material parameters to the pipeline.