|
GameApi 28
Library used by GameApi Builder tool
|
#include <draco_options.h>

Public Types | |
| typedef AttributeKeyT | AttributeKey |
Public Member Functions | |
| int | GetAttributeInt (const AttributeKey &att_key, const std::string &name, int default_val) const |
| void | SetAttributeInt (const AttributeKey &att_key, const std::string &name, int val) |
| float | GetAttributeFloat (const AttributeKey &att_key, const std::string &name, float default_val) const |
| void | SetAttributeFloat (const AttributeKey &att_key, const std::string &name, float val) |
| bool | GetAttributeBool (const AttributeKey &att_key, const std::string &name, bool default_val) const |
| void | SetAttributeBool (const AttributeKey &att_key, const std::string &name, bool val) |
| template<typename DataTypeT> | |
| bool | GetAttributeVector (const AttributeKey &att_key, const std::string &name, int num_dims, DataTypeT *val) const |
| template<typename DataTypeT> | |
| void | SetAttributeVector (const AttributeKey &att_key, const std::string &name, int num_dims, const DataTypeT *val) |
| bool | IsAttributeOptionSet (const AttributeKey &att_key, const std::string &name) const |
| int | GetGlobalInt (const std::string &name, int default_val) const |
| void | SetGlobalInt (const std::string &name, int val) |
| float | GetGlobalFloat (const std::string &name, float default_val) const |
| void | SetGlobalFloat (const std::string &name, float val) |
| bool | GetGlobalBool (const std::string &name, bool default_val) const |
| void | SetGlobalBool (const std::string &name, bool val) |
| template<typename DataTypeT> | |
| bool | GetGlobalVector (const std::string &name, int num_dims, DataTypeT *val) const |
| template<typename DataTypeT> | |
| void | SetGlobalVector (const std::string &name, int num_dims, const DataTypeT *val) |
| bool | IsGlobalOptionSet (const std::string &name) const |
| void | SetAttributeOptions (const AttributeKey &att_key, const Options &options) |
| void | SetGlobalOptions (const Options &options) |
| const Options * | FindAttributeOptions (const AttributeKeyT &att_key) const |
| const Options & | GetGlobalOptions () const |
| typedef AttributeKeyT draco::DracoOptions< AttributeKeyT >::AttributeKey |
| const Options * draco::DracoOptions< AttributeKeyT >::FindAttributeOptions | ( | const AttributeKeyT & | att_key | ) | const |

| bool draco::DracoOptions< AttributeKeyT >::GetAttributeBool | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| bool | default_val ) const |
| float draco::DracoOptions< AttributeKeyT >::GetAttributeFloat | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| float | default_val ) const |

| int draco::DracoOptions< AttributeKeyT >::GetAttributeInt | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| int | default_val ) const |

| bool draco::DracoOptions< AttributeKeyT >::GetAttributeVector | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| int | num_dims, | ||
| DataTypeT * | val ) const |

|
inline |
|
inline |
|
inline |

|
inline |
|
inline |
| bool draco::DracoOptions< AttributeKeyT >::IsAttributeOptionSet | ( | const AttributeKey & | att_key, |
| const std::string & | name ) const |
|
inline |

| void draco::DracoOptions< AttributeKeyT >::SetAttributeBool | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| bool | val ) |
| void draco::DracoOptions< AttributeKeyT >::SetAttributeFloat | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| float | val ) |

| void draco::DracoOptions< AttributeKeyT >::SetAttributeInt | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| int | val ) |

| void draco::DracoOptions< AttributeKeyT >::SetAttributeOptions | ( | const AttributeKey & | att_key, |
| const Options & | options ) |

| void draco::DracoOptions< AttributeKeyT >::SetAttributeVector | ( | const AttributeKey & | att_key, |
| const std::string & | name, | ||
| int | num_dims, | ||
| const DataTypeT * | val ) |

|
inline |

|
inline |
|
inline |

|
inline |

|
inline |