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

#include <tokens.h>

Public Member Functions

USDMTLX_API UsdMtlxTokensType ()
 

Public Attributes

const TfToken configMtlxVersion
 "config:mtlx:version" More...
 
const TfToken DefaultOutputName
 "out" More...
 
const TfToken MaterialXConfigAPI
 "MaterialXConfigAPI" More...
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above. More...
 

Detailed Description

UsdMtlxTokens provides static, efficient TfTokens for use in all public USD API.

These tokens are auto-generated from the module's schema, representing property names, for when you need to fetch an attribute or relationship directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient manner, and allow the compiler to verify that you spelled the name correctly.

UsdMtlxTokens also contains all of the allowedTokens values declared for schema builtin attributes of 'token' scene description type. Use UsdMtlxTokens like so:

gprim.GetMyTokenValuedAttr().Set(UsdMtlxTokens->configMtlxVersion);

Definition at line 46 of file tokens.h.

Constructor & Destructor Documentation

USDMTLX_API UsdMtlxTokensType::UsdMtlxTokensType ( )

Member Data Documentation

const std::vector<TfToken> UsdMtlxTokensType::allTokens

A vector of all of the tokens listed above.

Definition at line 61 of file tokens.h.

const TfToken UsdMtlxTokensType::configMtlxVersion

"config:mtlx:version"

UsdMtlxMaterialXConfigAPI

Definition at line 51 of file tokens.h.

const TfToken UsdMtlxTokensType::DefaultOutputName

"out"

Special token for the usdMtlx library.

Definition at line 55 of file tokens.h.

const TfToken UsdMtlxTokensType::MaterialXConfigAPI

"MaterialXConfigAPI"

Schema identifer and family for UsdMtlxMaterialXConfigAPI

Definition at line 59 of file tokens.h.


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