The MaterialMapElement class is used to define a MaterialMapKey with a sparse material map. More...

#include <sc_store.h>

Public Member Functions

 MaterialMapElement ()
 
 MaterialMapElement (uint32_t index, uint32_t length, MaterialKey material)
 
bool operator!= (MaterialMapElement const &that) const
 
bool operator== (MaterialMapElement const &that) const
 

Public Attributes

uint32_t index
 
uint32_t length
 
MaterialKey material
 

Detailed Description

The MaterialMapElement class is used to define a MaterialMapKey with a sparse material map.

Constructor & Destructor Documentation

◆ MaterialMapElement() [1/2]

SC::Store::MaterialMapElement::MaterialMapElement ( )

◆ MaterialMapElement() [2/2]

SC::Store::MaterialMapElement::MaterialMapElement ( uint32_t  index,
uint32_t  length,
MaterialKey  material 
)

Member Function Documentation

◆ operator!=()

bool SC::Store::MaterialMapElement::operator!= ( MaterialMapElement const &  that) const

◆ operator==()

bool SC::Store::MaterialMapElement::operator== ( MaterialMapElement const &  that) const

Member Data Documentation

◆ index

uint32_t SC::Store::MaterialMapElement::index

◆ length

uint32_t SC::Store::MaterialMapElement::length

◆ material

MaterialKey SC::Store::MaterialMapElement::material