24 #ifndef USDRENDER_GENERATED_PASS_H 25 #define USDRENDER_GENERATED_PASS_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
123 Get(
const UsdStagePtr &stage,
const SdfPath &path);
162 static const TfType &_GetStaticTfType();
164 static bool _IsTypedSchema();
168 const TfType &_GetTfType()
const override;
372 PXR_NAMESPACE_CLOSE_SCOPE
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 GetRenderSourceRel() const
The source prim to render from.
USDRENDER_API UsdAttribute GetPassTypeAttr() const
A string used to categorize differently structured or executed types of passes within a customized pi...
USDRENDER_API UsdRelationship GetInputPassesRel() const
The set of other Passes that this Pass depends on in order to be constructed properly.
USDRENDER_API UsdAttribute CreateFileNameAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFileNameAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDRENDER_API UsdRelationship CreateRenderSourceRel() const
See GetRenderSourceRel(), and also Create vs Get Property Methods for when to use Get vs Create.
static USDRENDER_API UsdRenderPass Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdRenderPass holding the prim adhering to this schema at path on stage.
USDRENDER_API UsdAttribute CreateCommandAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCommandAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDRENDER_API UsdAttribute CreateDenoiseEnableAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDenoiseEnableAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
UsdRenderPass(const UsdPrim &prim=UsdPrim())
Construct a UsdRenderPass on UsdPrim prim .
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
USDRENDER_API UsdAttribute GetDenoiseEnableAttr() const
When True, this Pass pass should be denoised.
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDRENDER_API UsdRelationship CreateInputPassesRel() const
See GetInputPassesRel(), and also Create vs Get Property Methods for when to use Get vs Create.
UsdRenderPass(const UsdSchemaBase &schemaObj)
Construct a UsdRenderPass on the prim held by schemaObj .
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
Represents a concrete typed schema.
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),...
static USDRENDER_API UsdRenderPass Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
A UsdRelationship creates dependencies between scenegraph objects by allowing a prim to target other ...
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
Contains an asset path and an optional resolved path.
USDRENDER_API UsdAttribute GetFileNameAttr() const
The asset that contains the rendering prims or other information needed to render this pass.
USDRENDER_API UsdAttribute GetCommandAttr() const
The command to run in order to generate renders for this pass.
A RenderPass prim encapsulates the necessary information to generate multipass renders.
USDRENDER_API UsdAttribute CreatePassTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPassTypeAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
virtual USDRENDER_API ~UsdRenderPass()
Destructor.
USDRENDER_API UsdRelationship CreateDenoisePassRel() const
See GetDenoisePassRel(), and also Create vs Get Property Methods for when to use Get vs Create.
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 GetDenoisePassRel() const
The The UsdRenderDenoisePass prim from which to source denoise settings.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...