This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
shaderProperty.h File Reference
+ Include dependency graph for shaderProperty.h:

Go to the source code of this file.

Classes

class  SdrShaderProperty
 A specialized version of NdrProperty which holds shading information. More...
 

Macros

#define SDR_PROPERTY_TYPE_TOKENS
 
#define SDR_PROPERTY_METADATA_TOKENS
 
#define SDR_PROPERTY_ROLE_TOKENS    ((None, "none"))
 
#define SDR_PROPERTY_TOKENS    ((PageDelimiter, ":"))
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (SdrPropertyTypes, SDR_API, SDR_PROPERTY_TYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (SdrPropertyMetadata, SDR_API, SDR_PROPERTY_METADATA_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (SdrPropertyRole, SDR_API, SDR_PROPERTY_ROLE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (SdrPropertyTokens, SDR_API, SDR_PROPERTY_TOKENS)
 

Macro Definition Documentation

◆ SDR_PROPERTY_METADATA_TOKENS

#define SDR_PROPERTY_METADATA_TOKENS
Value:
((Label, "label")) \
((Help, "help")) \
((Page, "page")) \
((RenderType, "renderType")) \
((Role, "role")) \
((Widget, "widget")) \
((Hints, "hints")) \
((Options, "options")) \
((IsDynamicArray, "isDynamicArray")) \
((Connectable, "connectable")) \
((Tag, "tag")) \
((ValidConnectionTypes, "validConnectionTypes")) \
((VstructMemberOf, "vstructMemberOf")) \
((VstructMemberName, "vstructMemberName")) \
((VstructConditionalExpr, "vstructConditionalExpr"))\
((IsAssetIdentifier, "__SDR__isAssetIdentifier"))\
((ImplementationName, "__SDR__implementationName"))\
((SdrUsdDefinitionType, "sdrUsdDefinitionType"))\
((DefaultInput, "__SDR__defaultinput")) \
((Target, "__SDR__target")) \
((Colorspace, "__SDR__colorspace"))

Definition at line 45 of file shaderProperty.h.

◆ SDR_PROPERTY_ROLE_TOKENS

#define SDR_PROPERTY_ROLE_TOKENS    ((None, "none"))

Definition at line 70 of file shaderProperty.h.

◆ SDR_PROPERTY_TOKENS

#define SDR_PROPERTY_TOKENS    ((PageDelimiter, ":"))

Definition at line 73 of file shaderProperty.h.

◆ SDR_PROPERTY_TYPE_TOKENS

#define SDR_PROPERTY_TYPE_TOKENS
Value:
((Int, "int")) \
((String, "string")) \
((Float, "float")) \
((Color, "color")) \
((Color4, "color4")) \
((Point, "point")) \
((Normal, "normal")) \
((Vector, "vector")) \
((Matrix, "matrix")) \
((Struct, "struct")) \
((Terminal, "terminal")) \
((Vstruct, "vstruct")) \
((Unknown, "unknown"))

Definition at line 27 of file shaderProperty.h.