24 #ifndef USDRENDER_GENERATED_SETTINGSBASE_H
25 #define USDRENDER_GENERATED_SETTINGSBASE_H
30 #include "pxr/usd/usdRender/api.h"
31 #include "pxr/usd/usd/typed.h"
36 #include "pxr/base/vt/value.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
111 Get(
const UsdStagePtr &stage,
const SdfPath &path);
125 static const TfType &_GetStaticTfType();
127 static bool _IsTypedSchema();
131 const TfType &_GetTfType()
const override;
334 PXR_NAMESPACE_CLOSE_SCOPE
USDRENDER_API UsdAttribute CreatePixelAspectRatioAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPixelAspectRatioAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
UsdRenderSettingsBase(const UsdSchemaBase &schemaObj)
Construct a UsdRenderSettingsBase on the prim held by schemaObj .
USDRENDER_API UsdAttribute CreateDataWindowNDCAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDataWindowNDCAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDRENDER_API UsdAttribute GetPixelAspectRatioAttr() const
The aspect ratio (width/height) of image pixels.
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
Scenegraph object for authoring and retrieving numeric, string, and array valued data, sampled over time.
USDRENDER_API UsdAttribute CreateInstantaneousShutterAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetInstantaneousShutterAttr(), and also Create vs Get Property Methods for when to use Get vs Cre...
USDRENDER_API UsdAttribute GetResolutionAttr() const
The image pixel resolution, corresponding to the camera's screen window.
Abstract base class that defines render settings that can be specified on either a RenderSettings pri...
static USDRENDER_API UsdRenderSettingsBase Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdRenderSettingsBase holding the prim adhering to this schema at path on stage...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDRENDER_API UsdAttribute GetAspectRatioConformPolicyAttr() const
Indicates the policy to use to resolve an aspect ratio mismatch between the camera aperture and image...
USDRENDER_API UsdAttribute GetInstantaneousShutterAttr() const
Override the targeted camera's shutterClose to be equal to the value of its shutterOpen, to produce a zero-width shutter interval.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
USDRENDER_API UsdRelationship GetCameraRel() const
The camera relationship specifies the primary camera to use in a render.
virtual USDRENDER_API ~UsdRenderSettingsBase()
Destructor.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
The base class for all typed schemas (those that can impart a typeName to a UsdPrim), and therefore the base class for all instantiable and "IsA" schemas.
std::vector< TfToken > TfTokenVector
Convenience types.
USDRENDER_API UsdAttribute CreateResolutionAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetResolutionAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
A path value used to locate objects in layers or scenegraphs.
UsdRenderSettingsBase(const UsdPrim &prim=UsdPrim())
Construct a UsdRenderSettingsBase on UsdPrim prim .
A UsdRelationship creates dependencies between scenegraph objects by allowing a prim to target other ...
Contains an asset path and an optional resolved path.
Represents a non-concrete typed schema.
TfType represents a dynamic runtime type.
USDRENDER_API UsdAttribute GetDataWindowNDCAttr() const
dataWindowNDC specifies the axis-aligned rectangular region in the adjusted aperture window within wh...
Singleton registry that provides access to schema type information and the prim definitions for regis...
static USDRENDER_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
USDRENDER_API UsdAttribute CreateAspectRatioConformPolicyAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAspectRatioConformPolicyAttr(), and also Create vs Get Property Methods for when to use Get vs...
The base class for all schema types in Usd.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
USDRENDER_API UsdRelationship CreateCameraRel() const
See GetCameraRel(), and also Create vs Get Property Methods for when to use Get vs Create...
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...