HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shaderNode.h File Reference
#include "pxr/pxr.h"
#include "pxr/usd/sdr/api.h"
#include "pxr/base/tf/staticTokens.h"
#include "pxr/base/tf/token.h"
#include "pxr/usd/ndr/node.h"
#include "pxr/usd/sdr/declare.h"
#include "pxr/usd/sdr/shaderNodeDiscoveryResult.h"
#include <unordered_map>
+ Include dependency graph for shaderNode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SdrShaderNode
 

Macros

#define SDR_NODE_METADATA_TOKENS
 
#define SDR_NODE_CONTEXT_TOKENS
 
#define SDR_NODE_ROLE_TOKENS
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (SdrNodeMetadata, SDR_API, SDR_NODE_METADATA_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (SdrNodeContext, SDR_API, SDR_NODE_CONTEXT_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (SdrNodeRole, SDR_API, SDR_NODE_ROLE_TOKENS)
 

Detailed Description

Note
All Ndr objects are deprecated in favor of the corresponding Sdr objects in this file. All existing pxr/usd/ndr implementations will be moved to pxr/usd/sdr.

Definition in file shaderNode.h.

Macro Definition Documentation

#define SDR_NODE_CONTEXT_TOKENS
Value:
((Pattern, "pattern")) \
((Surface, "surface")) \
((Volume, "volume")) \
((Displacement, "displacement")) \
((Light, "light")) \
((DisplayFilter, "displayFilter")) \
((LightFilter, "lightFilter")) \
((PixelFilter, "pixelFilter")) \
((SampleFilter, "sampleFilter"))

Definition at line 51 of file shaderNode.h.

#define SDR_NODE_METADATA_TOKENS
Value:
((Category, "category")) \
((Role, "role")) \
((Departments, "departments")) \
((Help, "help")) \
((Label, "label")) \
((Pages, "pages")) \
((Primvars, "primvars")) \
((ImplementationName, "__SDR__implementationName"))\
((Target, "__SDR__target")) \
((SdrUsdEncodingVersion, "sdrUsdEncodingVersion")) \
((SdrDefinitionNameFallbackPrefix, "sdrDefinitionNameFallbackPrefix"))

Definition at line 33 of file shaderNode.h.

#define SDR_NODE_ROLE_TOKENS
Value:
((Primvar, "primvar")) \
((Texture, "texture")) \
((Field, "field")) \
((Math, "math")) \

Definition at line 62 of file shaderNode.h.

Function Documentation

TF_DECLARE_PUBLIC_TOKENS ( SdrNodeMetadata  ,
SDR_API  ,
SDR_NODE_METADATA_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( SdrNodeContext  ,
SDR_API  ,
SDR_NODE_CONTEXT_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( SdrNodeRole  ,
SDR_API  ,
SDR_NODE_ROLE_TOKENS   
)