24 #ifndef PXR_USD_USD_RENDER_SPEC_H 25 #define PXR_USD_USD_RENDER_SPEC_H 30 #include "pxr/usd/usdRender/api.h" 39 #include "pxr/base/vt/value.h" 46 #include "pxr/base/tf/type.h" 48 PXR_NAMESPACE_OPEN_SCOPE
94 std::string sourceName;
139 PXR_NAMESPACE_CLOSE_SCOPE
USDRENDER_API VtDictionary UsdRenderComputeNamespacedSettings(UsdPrim const &prim, TfTokenVector const &namespaces)
Returns a dictionary populated with attributes filtered by the namespaces.
Basic type for a vector of 2 int components.
GfRange2f dataWindowNDC
The data window, in NDC terms relative to the aperture.
Specification of a product. See UsdRenderProduct.
A map with string keys and VtValue values.
bool disableMotionBlur
If set to true, disables motion blur.
TfToken name
The name of the product, which uniquely identifies it.
std::vector< size_t > renderVarIndices
The render vars used by this product, as indices into the top-level renderVars array.
Token for efficient comparison, assignment, and hashing of known strings.
USDRENDER_API UsdRenderSpec UsdRenderComputeSpec(UsdRenderSettings const &settings, TfTokenVector const &namespaces)
Computes the specification of the render settings.
A self-contained specification of render settings.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
SdfPath renderVarPath
The path of this render var, which uniquely identifies it.
VtArray< TfToken > materialBindingPurposes
List of material binding purposes.
TfToken type
The type of product, ex: "raster".
A path value used to locate objects in layers or scenegraphs.
VtDictionary namespacedSettings
Any extra settings values discovered in requested namespaces.
A UsdRenderSettings prim specifies global settings for a render process, including an enumeration of ...
TfToken dataType
The value data type of the variable, as a USD type name.
GfVec2i resolution
The pixel resolution of the product.
float pixelAspectRatio
The pixel aspect ratio as adjusted by aspectRatioConformPolicy.
Basic type for a vector of 2 float components.
SdfPath renderProductPath
The path of this product, which uniquely identifies it.
std::vector< RenderVar > renderVars
The full list of render vars requested by products in this render.
VtArray< TfToken > includedPurposes
List of purposes to use to filter scene contents.
std::vector< Product > products
The full list of products requested by this render.
TfToken aspectRatioConformPolicy
The policy that was applied to conform aspect ratio mismatches between the aperture and image.
Basic type: 2-dimensional floating point range.
GfVec2f apertureSize
The camera aperture size as adjusted by aspectRatioConformPolicy.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
SdfPath cameraPath
Path to the primary UsdGeomCamera camera to use for this product.
Specification of a render variable (aka AOV). See UsdRenderVar.