usdrt::UsdRenderDenoisePass
Defined in usdrt/scenegraph/usd/usdRender/denoisePass.h
-
class UsdRenderDenoisePass : public usdrt::UsdTyped
A RenderDenoisePass generates renders via a denoising process. This may be the same renderer that a pipeline uses for UsdRender, or may be a separate one. Notably, a RenderDenoisePass requires another Pass to be present for it to operate. The denoising process itself is not generative, and requires images inputs to operate.
As denoising integration varies so widely across pipelines, all implementation details are left to pipeline-specific prims that inherit from RenderDenoisePass.
Public Functions
-
inline explicit UsdRenderDenoisePass(const UsdPrim &prim = UsdPrim())
Construct a UsdRenderDenoisePass on UsdPrim
prim
. Equivalent to UsdRenderDenoisePass::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit UsdRenderDenoisePass(const UsdSchemaBase &schemaObj)
Construct a UsdRenderDenoisePass on the prim held by
schemaObj
. Should be preferred over UsdRenderDenoisePass(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~UsdRenderDenoisePass()
Destructor.
-
inline explicit operator bool() const
Check if this schema object is compatible with it’s held prim and that the prim is valid.
A typed schema object is compatible if the held prim’s type is or is a subtype of the schema’s type. Based on
prim.IsA()
.An API schema object is compatible if the API is of type SingleApplyAPI or UsdSchemaType::MultipleApplyAPI, and the schema has been applied to the prim. Based on
prim.HasAPI
.This method invokes polymorphic behaviour.
See also
- Returns
True if the help prim is valid, and the schema object is compatible with its held prim.
Public Static Functions
-
static inline UsdRenderDenoisePass Define(const UsdStageRefPtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at
path
is defined (according to UsdPrim::IsDefined()) on this stage.
Public Static Attributes
-
static const UsdSchemaType schemaType = UsdSchemaType::ConcreteTyped
Compile time constant representing what kind of schema this class is.
See also
Protected Functions
-
inline virtual bool _IsCompatible() const
Helper for subclasses to do specific compatibility checking with the given prim. Subclassess may override
_isCompatible
to for example check type compatibility or value compatibility on the prim.Overrides exist for UsdTyped and UsdAPISchemaBase.
This check is called when clients invoke the bool operator.
- Returns
True if the schema object is compatible with its held prim.
-
inline explicit UsdRenderDenoisePass(const UsdPrim &prim = UsdPrim())