MaterialMapElement

Fields

uint32_t

index

uint32_t

length

MaterialKey

material

Functions

MaterialMapElement

MaterialMapElement

bool

operator==

bool

operator!=

Detailed Description

class MaterialMapElement

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

Public Functions

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

Public Members

uint32_t index
uint32_t length
MaterialKey material