#include <renderProductSchema.h>
|
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 HdContainerDataSourceHandle &namespacedSettings) |
|
static HD_API HdRenderProductSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
|
static HD_API const TfToken & | GetSchemaToken () |
|
static HD_API const
HdDataSourceLocator & | GetDefaultLocator () |
|
static HD_API const
HdDataSourceLocator & | GetResolutionLocator () |
|
static HD_API const
HdDataSourceLocator & | GetRenderVarsLocator () |
|
static HD_API const
HdDataSourceLocator & | GetNamespacedSettingsLocator () |
|
Definition at line 62 of file renderProductSchema.h.
HdRenderProductSchema::HdRenderProductSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
static HD_API HdContainerDataSourceHandle HdRenderProductSchema::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 HdContainerDataSourceHandle & |
namespacedSettings |
|
) |
| |
|
static |
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
Retrieves a container data source with the schema's default name token "renderProduct" from the parent container and constructs a HdRenderProductSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
HD_API HdContainerDataSourceHandle HdRenderProductSchema::GetNamespacedSettings |
( |
| ) |
|
Returns an HdDataSourceLocator (relative to the prim-level data source) where the namespacedsettings data source can be found. This is often useful for checking intersection against the HdDataSourceLocatorSet sent with HdDataSourceObserver::PrimsDirtied.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the rendervars data source can be found. This is often useful for checking intersection against the HdDataSourceLocatorSet sent with HdDataSourceObserver::PrimsDirtied.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the resolution data source can be found. This is often useful for checking intersection against the HdDataSourceLocatorSet sent with HdDataSourceObserver::PrimsDirtied.
Returns a token where the container representing this schema is found in a container by default.
The documentation for this class was generated from the following file: