35 #ifndef PXR_IMAGING_HD_RENDER_SETTINGS_SCHEMA_H
36 #define PXR_IMAGING_HD_RENDER_SETTINGS_SCHEMA_H
58 #define HD_RENDER_SETTINGS_SCHEMA_TOKENS \
60 (namespacedSettings) \
64 (materialBindingPurposes) \
65 (renderingColorSpace) \
122 static HdContainerDataSourceHandle
124 const HdContainerDataSourceHandle &namespacedSettings,
126 const HdVectorDataSourceHandle &renderProducts,
144 const HdContainerDataSourceHandle &namespacedSettings);
150 const HdVectorDataSourceHandle &renderProducts);
166 HdContainerDataSourceHandle
Build();
169 HdContainerDataSourceHandle _namespacedSettings;
171 HdVectorDataSourceHandle _renderProducts;
185 const HdContainerDataSourceHandle &fromParentContainer);
#define HD_RENDER_SETTINGS_SCHEMA_TOKENS
HD_API Builder & SetActive(const HdBoolDataSourceHandle &active)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API HdVec2dDataSourceHandle GetShutterInterval()
HD_API Builder & SetShutterInterval(const HdVec2dDataSourceHandle &shutterInterval)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdContainerDataSourceHandle &namespacedSettings, const HdBoolDataSourceHandle &active, const HdVectorDataSourceHandle &renderProducts, const HdTokenArrayDataSourceHandle &includedPurposes, const HdTokenArrayDataSourceHandle &materialBindingPurposes, const HdTokenDataSourceHandle &renderingColorSpace, const HdVec2dDataSourceHandle &shutterInterval)
HdRenderSettingsSchema(HdContainerDataSourceHandle container)
static HD_API const HdDataSourceLocator & GetRenderProductsLocator()
Prim-level relative data source locator to locate renderProducts.
static HD_API const TfToken & GetSchemaToken()
TF_DECLARE_PUBLIC_TOKENS(HdRenderSettingsSchemaTokens, HD_API, HD_RENDER_SETTINGS_SCHEMA_TOKENS)
HD_API Builder & SetRenderingColorSpace(const HdTokenDataSourceHandle &renderingColorSpace)
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HdTokenArrayDataSource::Handle HdTokenArrayDataSourceHandle
static HD_API const HdDataSourceLocator & GetIncludedPurposesLocator()
Prim-level relative data source locator to locate includedPurposes.
static HD_API const HdDataSourceLocator & GetRenderingColorSpaceLocator()
Prim-level relative data source locator to locate renderingColorSpace.
HD_API HdBoolDataSourceHandle GetActive()
HD_API HdTokenArrayDataSourceHandle GetMaterialBindingPurposes()
HD_API HdRenderProductVectorSchema GetRenderProducts()
static HD_API const HdDataSourceLocator & GetMaterialBindingPurposesLocator()
Prim-level relative data source locator to locate materialBindingPurposes.
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API HdTokenArrayDataSourceHandle GetIncludedPurposes()
static HD_API const HdDataSourceLocator & GetActiveLocator()
Prim-level relative data source locator to locate active.
HD_API HdContainerDataSourceHandle GetNamespacedSettings()
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate active
HD_API Builder & SetMaterialBindingPurposes(const HdTokenArrayDataSourceHandle &materialBindingPurposes)
static HD_API const HdDataSourceLocator & GetShutterIntervalLocator()
Prim-level relative data source locator to locate shutterInterval.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API Builder & SetIncludedPurposes(const HdTokenArrayDataSourceHandle &includedPurposes)
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API Builder & SetNamespacedSettings(const HdContainerDataSourceHandle &namespacedSettings)
static HD_API HdRenderSettingsSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API HdTokenDataSourceHandle GetRenderingColorSpace()
HdTokenDataSource::Handle HdTokenDataSourceHandle
static HD_API const HdDataSourceLocator & GetNamespacedSettingsLocator()
Prim-level relative data source locator to locate namespacedSettings.
HdVec2dDataSource::Handle HdVec2dDataSourceHandle
HD_API Builder & SetRenderProducts(const HdVectorDataSourceHandle &renderProducts)