All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shadingModeRegistry.h File Reference
+ Include dependency graph for shadingModeRegistry.h:

Go to the source code of this file.

Classes

class  UsdMayaShadingModeRegistry
 We understand that shading may want to be imported/exported in many ways across studios. More...
 

Macros

#define PXRUSDMAYA_SHADINGMODE_TOKENS
 
#define DEFINE_SHADING_MODE_IMPORTER(name, contextName)
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdMayaShadingModeTokens, PXRUSDMAYA_API, PXRUSDMAYA_SHADINGMODE_TOKENS)
 
 TF_DECLARE_WEAK_PTRS (UsdMayaShadingModeRegistry)
 

Macro Definition Documentation

#define DEFINE_SHADING_MODE_IMPORTER (   name,
  contextName 
)
Value:
static MObject _ShadingModeImporter_##name(UsdMayaShadingModeImportContext*); \
TF_REGISTRY_FUNCTION_WITH_TAG(UsdMayaShadingModeImportContext, name) {\
UsdMayaShadingModeRegistry::GetInstance().RegisterImporter(#name, &_ShadingModeImporter_##name); \
}\
MObject _ShadingModeImporter_##name(UsdMayaShadingModeImportContext* contextName)
#define TF_REGISTRY_FUNCTION_WITH_TAG(KEY_TYPE, TAG)
Define a function that is called on demand by TfRegistryManager.

Definition at line 109 of file shadingModeRegistry.h.

#define PXRUSDMAYA_SHADINGMODE_TOKENS
Value:
(none) \
(displayColor)

Definition at line 50 of file shadingModeRegistry.h.