35 #ifndef PXR_IMAGING_HD_RENDER_PRODUCT_SCHEMA_H
36 #define PXR_IMAGING_HD_RENDER_PRODUCT_SCHEMA_H
56 #define HD_RENDER_PRODUCT_SCHEMA_TOKENS \
65 (aspectRatioConformPolicy) \
69 (disableDepthOfField) \
70 (namespacedSettings) \
94 const HdContainerDataSourceHandle &fromParentContainer);
193 static HdContainerDataSourceHandle
199 const HdVectorDataSourceHandle &renderVars,
207 const HdContainerDataSourceHandle &namespacedSettings
233 const HdVectorDataSourceHandle &renderVars);
257 const HdContainerDataSourceHandle &namespacedSettings);
261 HdContainerDataSourceHandle
Build();
268 HdVectorDataSourceHandle _renderVars;
276 HdContainerDataSourceHandle _namespacedSettings;
static HD_API const HdDataSourceLocator & GetResolutionLocator()
Prim-level relative data source locator to locate resolution.
static HD_API const HdDataSourceLocator & GetNamespacedSettingsLocator()
Prim-level relative data source locator to locate namespacedSettings.
HD_API HdVec2fDataSourceHandle GetApertureSize()
HdFloatDataSource::Handle HdFloatDataSourceHandle
static HD_API const TfToken & GetSchemaToken()
GLsizei const GLchar *const * path
HD_API Builder & SetDisableMotionBlur(const HdBoolDataSourceHandle &disableMotionBlur)
HD_API Builder & SetType(const HdTokenDataSourceHandle &type)
HD_API Builder & SetRenderVars(const HdVectorDataSourceHandle &renderVars)
HdVec4fDataSource::Handle HdVec4fDataSourceHandle
HUSD_API const char * aspectRatioConformPolicy()
static HD_API HdRenderProductSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetName(const HdTokenDataSourceHandle &name)
HD_API HdVec2iDataSourceHandle GetResolution()
HD_API HdBoolDataSourceHandle GetDisableDepthOfField()
#define HD_RENDER_PRODUCT_SCHEMA_TOKENS
static HD_API const HdDataSourceLocator & GetDefaultLocator()
static HD_API HdContainerDataSourceHandle BuildRetained(const HdPathDataSourceHandle &path, const HdTokenDataSourceHandle &type, const HdTokenDataSourceHandle &name, const HdVec2iDataSourceHandle &resolution, const HdVectorDataSourceHandle &renderVars, const HdPathDataSourceHandle &cameraPrim, const HdFloatDataSourceHandle &pixelAspectRatio, const HdTokenDataSourceHandle &aspectRatioConformPolicy, const HdVec2fDataSourceHandle &apertureSize, const HdVec4fDataSourceHandle &dataWindowNDC, const HdBoolDataSourceHandle &disableMotionBlur, const HdBoolDataSourceHandle &disableDepthOfField, const HdContainerDataSourceHandle &namespacedSettings)
HdBoolDataSource::Handle HdBoolDataSourceHandle
HdVec2fDataSource::Handle HdVec2fDataSourceHandle
HdRenderProductSchema(HdContainerDataSourceHandle container)
HD_API Builder & SetDisableDepthOfField(const HdBoolDataSourceHandle &disableDepthOfField)
HD_API Builder & SetResolution(const HdVec2iDataSourceHandle &resolution)
HD_API Builder & SetCameraPrim(const HdPathDataSourceHandle &cameraPrim)
HUSD_API const char * resolution()
GLuint const GLchar * name
HD_API HdVec4fDataSourceHandle GetDataWindowNDC()
HD_API Builder & SetNamespacedSettings(const HdContainerDataSourceHandle &namespacedSettings)
HUSD_API const char * pixelAspectRatio()
HD_API HdContainerDataSourceHandle GetNamespacedSettings()
HD_API HdBoolDataSourceHandle GetDisableMotionBlur()
HD_API Builder & SetApertureSize(const HdVec2fDataSourceHandle &apertureSize)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API Builder & SetPath(const HdPathDataSourceHandle &path)
HD_API HdPathDataSourceHandle GetCameraPrim()
HD_API HdTokenDataSourceHandle GetAspectRatioConformPolicy()
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API Builder & SetDataWindowNDC(const HdVec4fDataSourceHandle &dataWindowNDC)
HD_API HdTokenDataSourceHandle GetType()
HdVec2iDataSource::Handle HdVec2iDataSourceHandle
HUSD_API const char * dataWindowNDC()
HD_API HdPathDataSourceHandle GetPath()
HD_API HdTokenDataSourceHandle GetName()
TF_DECLARE_PUBLIC_TOKENS(HdRenderProductSchemaTokens, HD_API, HD_RENDER_PRODUCT_SCHEMA_TOKENS)
HD_API Builder & SetAspectRatioConformPolicy(const HdTokenDataSourceHandle &aspectRatioConformPolicy)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HdPathDataSource::Handle HdPathDataSourceHandle
HD_API HdFloatDataSourceHandle GetPixelAspectRatio()
static HD_API const HdDataSourceLocator & GetRenderVarsLocator()
Prim-level relative data source locator to locate renderVars.
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API Builder & SetPixelAspectRatio(const HdFloatDataSourceHandle &pixelAspectRatio)
HD_API HdRenderVarVectorSchema GetRenderVars()
HUSD_API const char * disableMotionBlur()