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;
360 PXR_NAMESPACE_CLOSE_SCOPE
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.
UsdRenderSettingsBase(const UsdSchemaBase &schemaObj)
Construct a UsdRenderSettingsBase on the prim held by schemaObj .
USDRENDER_API UsdAttribute GetResolutionAttr() const
The image pixel resolution, corresponding to the camera's screen window.
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
USDRENDER_API UsdAttribute GetInstantaneousShutterAttr() const
Deprecated - use disableMotionBlur instead.
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.
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...
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
USDRENDER_API UsdAttribute GetDisableMotionBlurAttr() const
Disable all motion blur by setting the shutter interval of the targeted camera to [0,...
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.
USDRENDER_API UsdAttribute GetAspectRatioConformPolicyAttr() const
Indicates the policy to use to resolve an aspect ratio mismatch between the camera aperture and image...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDRENDER_API UsdRelationship CreateCameraRel() const
See GetCameraRel(), and also Create vs Get Property Methods for when to use Get vs Create.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
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),...
std::vector< TfToken > TfTokenVector
Convenience types.
USDRENDER_API UsdAttribute GetDataWindowNDCAttr() const
dataWindowNDC specifies the axis-aligned rectangular region in the adjusted aperture window within wh...
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.
USDRENDER_API UsdAttribute CreateDisableMotionBlurAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDisableMotionBlurAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
Represents a non-concrete typed schema.
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...
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
USDRENDER_API UsdAttribute GetPixelAspectRatioAttr() const
The aspect ratio (width/height) of image pixels.
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 UsdRelationship GetCameraRel() const
The camera relationship specifies the primary camera to use in a render.
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...
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
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.