All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Resources::Interiors::InteriorMaterialData Struct Reference

Public Types

typedef std::pair< std::string,
std::string > 
SemanticStringPair
 
typedef std::pair< std::string,
v4
SemanticColorPair
 
typedef std::pair< std::string,
float > 
SemanticScalarPair
 
typedef std::pair< std::string,
bool > 
SemanticBooleanPair
 

Public Member Functions

std::string MaterialName () const
 
bool HasString (const std::string &semantic) const
 
bool HasColor (const std::string &semantic) const
 
bool HasScalar (const std::string &semantic) const
 
bool HasBoolean (const std::string &semantic) const
 
std::string GetString (const std::string &semantic) const
 
v4 GetColor (const std::string &semantic) const
 
float GetScalar (const std::string &semantic) const
 
bool GetBoolean (const std::string &semantic) const
 
std::string GetStringOrDefault (const std::string &semantic, const std::string &defaultValue) const
 
v4 GetColorOrDefault (const std::string &semantic, const v4 &defaultValue) const
 
float GetScalarOrDefault (const std::string &semantic, const float defaultValue) const
 
bool GetBooleanOrDefault (const std::string &semantic, const bool defaultValue) const
 
const std::unordered_map
< std::string, std::string > & 
GetStrings () const
 
const std::unordered_map
< std::string, v4 > & 
GetColors () const
 
const std::unordered_map
< std::string, float > & 
GetScalars () const
 
const std::unordered_map
< std::string, bool > & 
GetBooleans () const
 

Static Public Member Functions

static InteriorMaterialData Make (const std::string &materialName, Rendering::LayerIds::Values renderableLayer, int renderableDepth)
 
static InteriorMaterialData Make (const std::string &materialName, Rendering::LayerIds::Values renderableLayer, int renderableDepth, const std::vector< SemanticStringPair > &strings, const std::vector< SemanticColorPair > &colors, const std::vector< SemanticScalarPair > &scalars)
 
static InteriorMaterialData Make (const std::string &materialName)
 
static InteriorMaterialData Make (const std::string &materialName, const std::vector< SemanticStringPair > &strings, const std::vector< SemanticColorPair > &colors, const std::vector< SemanticScalarPair > &scalars)
 
static InteriorMaterialData Make (const std::string &materialName, const std::vector< SemanticStringPair > &strings, const std::vector< SemanticColorPair > &colors, const std::vector< SemanticScalarPair > &scalars, const std::vector< SemanticBooleanPair > &booleans)
 

Member Function Documentation

InteriorMaterialData Eegeo::Resources::Interiors::InteriorMaterialData::Make ( const std::string &  materialName,
Rendering::LayerIds::Values  renderableLayer,
int  renderableDepth 
)
static
InteriorMaterialData Eegeo::Resources::Interiors::InteriorMaterialData::Make ( const std::string &  materialName,
Rendering::LayerIds::Values  renderableLayer,
int  renderableDepth,
const std::vector< SemanticStringPair > &  strings,
const std::vector< SemanticColorPair > &  colors,
const std::vector< SemanticScalarPair > &  scalars 
)
static

The documentation for this struct was generated from the following files: