31 #ifndef PXR_USD_IMAGING_USD_IMAGING_USD_RENDER_VAR_SCHEMA_H 32 #define PXR_USD_IMAGING_USD_IMAGING_USD_RENDER_VAR_SCHEMA_H 34 #include "pxr/usdImaging/usdImaging/api.h" 36 #include "pxr/imaging/hd/schema.h" 38 PXR_NAMESPACE_OPEN_SCOPE
42 #define USDIMAGINGUSDRENDERVAR_SCHEMA_TOKENS \ 47 (namespacedSettings) \ 50 USDIMAGINGUSDRENDERVAR_SCHEMA_TOKENS);
54 class UsdImagingUsdRenderVarSchema :
public HdSchema 57 UsdImagingUsdRenderVarSchema(HdContainerDataSourceHandle container)
63 HdTokenDataSourceHandle GetDataType();
65 HdStringDataSourceHandle GetSourceName();
67 HdTokenDataSourceHandle GetSourceType();
69 HdContainerDataSourceHandle GetNamespacedSettings();
79 static HdContainerDataSourceHandle
81 const HdTokenDataSourceHandle &dataType,
82 const HdStringDataSourceHandle &sourceName,
83 const HdTokenDataSourceHandle &sourceType,
84 const HdContainerDataSourceHandle &namespacedSettings
98 const HdTokenDataSourceHandle &dataType);
101 const HdStringDataSourceHandle &sourceName);
104 const HdTokenDataSourceHandle &sourceType);
106 Builder &SetNamespacedSettings(
107 const HdContainerDataSourceHandle &namespacedSettings);
111 HdContainerDataSourceHandle
Build();
114 HdTokenDataSourceHandle _dataType;
115 HdStringDataSourceHandle _sourceName;
116 HdTokenDataSourceHandle _sourceType;
117 HdContainerDataSourceHandle _namespacedSettings;
126 static UsdImagingUsdRenderVarSchema GetFromParent(
127 const HdContainerDataSourceHandle &fromParentContainer);
144 PXR_NAMESPACE_CLOSE_SCOPE
USDIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Schema classes represent a structured view of the inherently unstructured container data source passe...