GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::EncoderOptionsBase< AttributeKeyT > Class Template Reference

#include <encoder_options.h>

Inheritance diagram for draco::EncoderOptionsBase< AttributeKeyT >:
Collaboration diagram for draco::EncoderOptionsBase< AttributeKeyT >:

Public Member Functions

int GetEncodingSpeed () const
int GetDecodingSpeed () const
int GetSpeed () const
void SetSpeed (int encoding_speed, int decoding_speed)
bool IsSpeedSet () const
void SetSupportedFeature (const std::string &name, bool supported)
bool IsFeatureSupported (const std::string &name) const
void SetFeatureOptions (const Options &options)
const Options & GetFeaturelOptions () const
Public Member Functions inherited from draco::DracoOptions< AttributeKeyT >
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

Static Public Member Functions

static EncoderOptionsBase CreateDefaultOptions ()
static EncoderOptionsBase CreateEmptyOptions ()

Additional Inherited Members

Public Types inherited from draco::DracoOptions< AttributeKeyT >
typedef AttributeKeyT AttributeKey

Member Function Documentation

◆ CreateDefaultOptions()

template<typename AttributeKeyT>
EncoderOptionsBase draco::EncoderOptionsBase< AttributeKeyT >::CreateDefaultOptions ( )
inlinestatic
Here is the caller graph for this function:

◆ CreateEmptyOptions()

template<typename AttributeKeyT>
EncoderOptionsBase draco::EncoderOptionsBase< AttributeKeyT >::CreateEmptyOptions ( )
inlinestatic

◆ GetDecodingSpeed()

template<typename AttributeKeyT>
int draco::EncoderOptionsBase< AttributeKeyT >::GetDecodingSpeed ( ) const
inline

◆ GetEncodingSpeed()

template<typename AttributeKeyT>
int draco::EncoderOptionsBase< AttributeKeyT >::GetEncodingSpeed ( ) const
inline

◆ GetFeaturelOptions()

template<typename AttributeKeyT>
const Options & draco::EncoderOptionsBase< AttributeKeyT >::GetFeaturelOptions ( ) const
inline

◆ GetSpeed()

template<typename AttributeKeyT>
int draco::EncoderOptionsBase< AttributeKeyT >::GetSpeed ( ) const
inline

◆ IsFeatureSupported()

template<typename AttributeKeyT>
bool draco::EncoderOptionsBase< AttributeKeyT >::IsFeatureSupported ( const std::string & name) const
inline
Here is the caller graph for this function:

◆ IsSpeedSet()

template<typename AttributeKeyT>
bool draco::EncoderOptionsBase< AttributeKeyT >::IsSpeedSet ( ) const
inline

◆ SetFeatureOptions()

template<typename AttributeKeyT>
void draco::EncoderOptionsBase< AttributeKeyT >::SetFeatureOptions ( const Options & options)
inline
Here is the caller graph for this function:

◆ SetSpeed()

template<typename AttributeKeyT>
void draco::EncoderOptionsBase< AttributeKeyT >::SetSpeed ( int encoding_speed,
int decoding_speed )
inline
Here is the caller graph for this function:

◆ SetSupportedFeature()

template<typename AttributeKeyT>
void draco::EncoderOptionsBase< AttributeKeyT >::SetSupportedFeature ( const std::string & name,
bool supported )
inline

The documentation for this class was generated from the following file: