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