7#ifndef USDRENDER_GENERATED_PASS_H
8#define USDRENDER_GENERATED_PASS_H
13#include "pxr/usd/usdRender/api.h"
21#include "pxr/base/vt/value.h"
28#include "pxr/base/tf/type.h"
30PXR_NAMESPACE_OPEN_SCOPE
196 static const TfType &_GetStaticTfType();
198 static bool _IsTypedSchema();
202 const TfType &_GetTfType()
const override;
397PXR_NAMESPACE_CLOSE_SCOPE
Contains an asset path and an optional resolved path.
A path value used to locate objects in layers or scenegraphs.
TfType represents a dynamic runtime type.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
A general purpose API schema used to describe a collection of prims and properties within a scene.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
A UsdRelationship creates dependencies between scenegraph objects by allowing a prim to target other ...
A RenderPass prim encapsulates necessary information to generate multi-pass renders.
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 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.
USDRENDER_API UsdAttribute GetDenoiseEnableAttr() const
When True, this Pass pass should be denoised.
USDRENDER_API UsdAttribute GetFileNameAttr() const
The asset that contains the rendering prims or other information needed to render this pass.
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...
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
USDRENDER_API UsdAttribute GetCommandAttr() const
The command to run in order to generate renders for this pass.
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 Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
virtual USDRENDER_API ~UsdRenderPass()
Destructor.
USDRENDER_API UsdRelationship GetInputPassesRel() const
The set of other Passes that this Pass depends on in order to be constructed properly.
UsdRenderPass(const UsdPrim &prim=UsdPrim())
Construct a UsdRenderPass on UsdPrim prim .
USDRENDER_API UsdRelationship GetRenderSourceRel() const
The source prim to render from.
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this 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 .
USDRENDER_API UsdAttribute GetPassTypeAttr() const
A string used to categorize differently structured or executed types of passes within a customized pi...
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.
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 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 UsdCollectionAPI GetRenderVisibilityCollectionAPI() const
Return the UsdCollectionAPI interface used for examining and modifying the render visibility of this ...
The base class for all schema types in Usd.
Singleton registry that provides access to schema type information and the prim definitions for regis...
The base class for all typed schemas (those that can impart a typeName to a UsdPrim),...
Provides a container which may hold any type, and provides introspection and iteration over array typ...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.