HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_RenderSettingsContext::lookupSetting Class Reference

#include <HUSD_RenderSettings.h>

Public Member Functions

 lookupSetting (const void *data)
 
bool lookup (const char *token, int64 &val) const
 Will lookup up bool, int32 or int64 values. More...
 
bool lookup (const char *token, fpreal64 &val) const
 Will lookup up bool, int32 or int64, fpreal32, or fpreal64. More...
 
bool lookup (const char *token, UT_Vector2i &val) const
 Will lookup up GfVec2i. More...
 

Detailed Description

During initialization of the HUSD_RenderSettings, this class gets a call back to initialize any defaults that make sense. The lookupSetting class provides an interface to lookup very simple POD types from the render settings primitive.

Definition at line 71 of file HUSD_RenderSettings.h.

Constructor & Destructor Documentation

HUSD_RenderSettingsContext::lookupSetting::lookupSetting ( const void data)
inline

Definition at line 74 of file HUSD_RenderSettings.h.

Member Function Documentation

bool HUSD_RenderSettingsContext::lookupSetting::lookup ( const char *  token,
int64 val 
) const

Will lookup up bool, int32 or int64 values.

bool HUSD_RenderSettingsContext::lookupSetting::lookup ( const char *  token,
fpreal64 val 
) const

Will lookup up bool, int32 or int64, fpreal32, or fpreal64.

bool HUSD_RenderSettingsContext::lookupSetting::lookup ( const char *  token,
UT_Vector2i val 
) const

Will lookup up GfVec2i.


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