struct Enlighten::PipelineInstanceMaterial

Overrides the nth material of each mesh with the geometry object.

Variables

Name Description
PipelineMaterial m_Material

The new material properties.

Geo::u32 m_MaterialIndex

The index of the material to override.

Functions

Name Description
PipelineInstanceMaterial(Geo::u32, PipelineMaterial)

Constructor.


Enlighten::PipelineInstanceMaterial::PipelineInstanceMaterial


public: PipelineInstanceMaterial
(
    Geo::u32 materialIndex,
    PipelineMaterial material
)


Constructor.