HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
spec.h File Reference
+ Include dependency graph for spec.h:

Go to the source code of this file.

Classes

struct  UsdRenderSpec
 
struct  UsdRenderSpec::Product
 Specification of a product. See UsdRenderProduct. More...
 
struct  UsdRenderSpec::RenderVar
 Specification of a render variable (aka AOV). See UsdRenderVar. More...
 

Functions

USDRENDER_API UsdRenderSpec UsdRenderComputeSpec (UsdRenderSettings const &settings, TfTokenVector const &namespaces)
 
USDRENDER_API VtDictionary UsdRenderComputeNamespacedSettings (UsdPrim const &prim, TfTokenVector const &namespaces)
 

Function Documentation

USDRENDER_API VtDictionary UsdRenderComputeNamespacedSettings ( UsdPrim const prim,
TfTokenVector const namespaces 
)

Returns a dictionary populated with attributes filtered by the namespaces. If a non-empty list of namespaces is provided, only authored attributes within those namespaces are returned. If an empty list of namespaces is provided, all custom (non-schema) attributes are returned.

Note
Special handling is provided for connectable attributes that are used to represent node graph outputs.
USDRENDER_API UsdRenderSpec UsdRenderComputeSpec ( UsdRenderSettings const settings,
TfTokenVector const namespaces 
)

Computes the specification of the render settings. For each product, applies the aspectRatioConformPolicy and computes a final screenWindow and pixelAspectRatio.

Any other attributes encountered are returned in namespacedSettings. If a non-empty list of namespaces is provided, only attributes within those namespaces are returned. If an empty list of namespaces is provided, all custom (non-schema) attributes are returned. The same list of namespaces is used for finding namespacedSettings in all UsdRender prim types.