#include <sc_store.h>

Public Member Functions

 MaterialKey ()
 
 MaterialKey (uint32_t key)
 
 operator uint32_t () const
 
MaterialKeyoperator= (uint32_t key)
 
bool operator== (MaterialKey const &that)
 

Static Public Member Functions

static MaterialKey Unspecified ()
 

Public Attributes

uint32_t _key
 

Detailed Description

A key used to uniquely identify a material in a given model.

Constructor & Destructor Documentation

◆ MaterialKey() [1/2]

SC::Store::MaterialKey::MaterialKey ( )

◆ MaterialKey() [2/2]

SC::Store::MaterialKey::MaterialKey ( uint32_t  key)
explicit

Member Function Documentation

◆ operator uint32_t()

SC::Store::MaterialKey::operator uint32_t ( ) const

◆ operator=()

MaterialKey& SC::Store::MaterialKey::operator= ( uint32_t  key)

◆ operator==()

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

◆ Unspecified()

static MaterialKey SC::Store::MaterialKey::Unspecified ( )
static

Member Data Documentation

◆ _key

uint32_t SC::Store::MaterialKey::_key