HDK
|
#include "pxr/pxr.h"
#include "pxr/usd/usdRender/api.h"
#include "pxr/usd/usdRender/settingsBase.h"
#include "pxr/usd/usd/prim.h"
#include "pxr/usd/usd/stage.h"
#include "pxr/usd/usdRender/tokens.h"
#include "pxr/base/gf/frustum.h"
#include "pxr/base/vt/dictionary.h"
#include "pxr/base/vt/value.h"
#include "pxr/base/gf/vec3d.h"
#include "pxr/base/gf/vec3f.h"
#include "pxr/base/gf/matrix4d.h"
#include "pxr/base/tf/token.h"
#include "pxr/base/tf/type.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) |
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.
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.