HDK
|
#include <usdRenderSettingsSchema.h>
Classes | |
class | Builder |
Static Public Member Functions | |
Schema location | |
static USDIMAGING_API const TfToken & | GetSchemaToken () |
static USDIMAGING_API const HdDataSourceLocator & | GetDefaultLocator () |
Data source locators for members | |
The following methods return an HdDataSourceLocator (relative to the prim-level data source) where the data source for a member can be found. This is often useful for checking intersection against the HdDataSourceLocatorSet sent with HdDataSourceObserver::PrimsDirtied. | |
static USDIMAGING_API const HdDataSourceLocator & | GetResolutionLocator () |
Prim-level relative data source locator to locate resolution. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetPixelAspectRatioLocator () |
Prim-level relative data source locator to locate pixelAspectRatio. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetAspectRatioConformPolicyLocator () |
Prim-level relative data source locator to locate aspectRatioConformPolicy. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetDataWindowNDCLocator () |
Prim-level relative data source locator to locate dataWindowNDC. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetDisableMotionBlurLocator () |
Prim-level relative data source locator to locate disableMotionBlur. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetDisableDepthOfFieldLocator () |
Prim-level relative data source locator to locate disableDepthOfField. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetCameraLocator () |
Prim-level relative data source locator to locate camera. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetIncludedPurposesLocator () |
Prim-level relative data source locator to locate includedPurposes. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetMaterialBindingPurposesLocator () |
Prim-level relative data source locator to locate materialBindingPurposes. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetRenderingColorSpaceLocator () |
Prim-level relative data source locator to locate renderingColorSpace. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetProductsLocator () |
Prim-level relative data source locator to locate products. More... | |
static USDIMAGING_API const HdDataSourceLocator & | GetNamespacedSettingsLocator () |
Prim-level relative data source locator to locate namespacedSettings. More... | |
Schema construction | |
static USDIMAGING_API HdContainerDataSourceHandle | BuildRetained (const HdVec2iDataSourceHandle &resolution, const HdFloatDataSourceHandle &pixelAspectRatio, const HdTokenDataSourceHandle &aspectRatioConformPolicy, const HdVec4fDataSourceHandle &dataWindowNDC, const HdBoolDataSourceHandle &disableMotionBlur, const HdBoolDataSourceHandle &disableDepthOfField, const HdPathDataSourceHandle &camera, const HdTokenArrayDataSourceHandle &includedPurposes, const HdTokenArrayDataSourceHandle &materialBindingPurposes, const HdTokenDataSourceHandle &renderingColorSpace, const HdPathArrayDataSourceHandle &products, const HdContainerDataSourceHandle &namespacedSettings) |
Schema retrieval | |
UsdImagingUsdRenderSettingsSchema (HdContainerDataSourceHandle container) | |
static USDIMAGING_API UsdImagingUsdRenderSettingsSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
Additional Inherited Members | |
Public Types inherited from HdSchema | |
using | UnderlyingDataSource = HdContainerDataSource |
Protected Member Functions inherited from HdSchema | |
template<typename T > | |
T::Handle | _GetTypedDataSource (TfToken name) |
Protected Attributes inherited from HdSchema | |
HdContainerDataSourceHandle | _container |
Definition at line 73 of file usdRenderSettingsSchema.h.
|
inline |
Retrieves a container data source with the schema's default name token "__usdRenderSettings" from the parent container and constructs a UsdImagingUsdRenderSettingsSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Definition at line 79 of file usdRenderSettingsSchema.h.
|
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.
USDIMAGING_API HdTokenDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetAspectRatioConformPolicy | ( | ) |
|
static |
Prim-level relative data source locator to locate aspectRatioConformPolicy.
USDIMAGING_API HdPathDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetCamera | ( | ) |
|
static |
Prim-level relative data source locator to locate camera.
USDIMAGING_API HdVec4fDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetDataWindowNDC | ( | ) |
|
static |
Prim-level relative data source locator to locate dataWindowNDC.
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
USDIMAGING_API HdBoolDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetDisableDepthOfField | ( | ) |
|
static |
Prim-level relative data source locator to locate disableDepthOfField.
USDIMAGING_API HdBoolDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetDisableMotionBlur | ( | ) |
|
static |
Prim-level relative data source locator to locate disableMotionBlur.
|
static |
Retrieves a container data source with the schema's default name token "__usdRenderSettings" from the parent container and constructs a UsdImagingUsdRenderSettingsSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
USDIMAGING_API HdTokenArrayDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetIncludedPurposes | ( | ) |
|
static |
Prim-level relative data source locator to locate includedPurposes.
USDIMAGING_API HdTokenArrayDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetMaterialBindingPurposes | ( | ) |
|
static |
Prim-level relative data source locator to locate materialBindingPurposes.
USDIMAGING_API HdContainerDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetNamespacedSettings | ( | ) |
|
static |
Prim-level relative data source locator to locate namespacedSettings.
USDIMAGING_API HdFloatDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetPixelAspectRatio | ( | ) |
|
static |
Prim-level relative data source locator to locate pixelAspectRatio.
USDIMAGING_API HdPathArrayDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetProducts | ( | ) |
|
static |
Prim-level relative data source locator to locate products.
USDIMAGING_API HdTokenDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetRenderingColorSpace | ( | ) |
|
static |
Prim-level relative data source locator to locate renderingColorSpace.
USDIMAGING_API HdVec2iDataSourceHandle UsdImagingUsdRenderSettingsSchema::GetResolution | ( | ) |
|
static |
Prim-level relative data source locator to locate resolution.
|
static |
Returns a token where the container representing this schema is found in a container by default.