Loading...
Searching...
No Matches
denoisePass.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef USDRENDER_GENERATED_DENOISEPASS_H
8#define USDRENDER_GENERATED_DENOISEPASS_H
9
11
12#include "pxr/pxr.h"
13#include "pxr/usd/usdRender/api.h"
14#include "pxr/usd/usd/typed.h"
15#include "pxr/usd/usd/prim.h"
16#include "pxr/usd/usd/stage.h"
17
18#include "pxr/base/vt/value.h"
19
20#include "pxr/base/gf/vec3d.h"
21#include "pxr/base/gf/vec3f.h"
23
24#include "pxr/base/tf/token.h"
25#include "pxr/base/tf/type.h"
26
27PXR_NAMESPACE_OPEN_SCOPE
28
29class SdfAssetPath;
30
31// -------------------------------------------------------------------------- //
32// RENDERDENOISEPASS //
33// -------------------------------------------------------------------------- //
34
49{
50public:
54 static const UsdSchemaKind schemaKind = UsdSchemaKind::ConcreteTyped;
55
60 explicit UsdRenderDenoisePass(const UsdPrim& prim=UsdPrim())
61 : UsdTyped(prim)
62 {
63 }
64
68 explicit UsdRenderDenoisePass(const UsdSchemaBase& schemaObj)
69 : UsdTyped(schemaObj)
70 {
71 }
72
74 USDRENDER_API
76
80 USDRENDER_API
81 static const TfTokenVector &
82 GetSchemaAttributeNames(bool includeInherited=true);
83
93 USDRENDER_API
95 Get(const UsdStagePtr &stage, const SdfPath &path);
96
119 USDRENDER_API
121 Define(const UsdStagePtr &stage, const SdfPath &path);
122
123protected:
127 USDRENDER_API
129
130private:
131 // needs to invoke _GetStaticTfType.
132 friend class UsdSchemaRegistry;
133 USDRENDER_API
134 static const TfType &_GetStaticTfType();
135
136 static bool _IsTypedSchema();
137
138 // override SchemaBase virtuals.
139 USDRENDER_API
140 const TfType &_GetTfType() const override;
141
142public:
143 // ===================================================================== //
144 // Feel free to add custom code below this line, it will be preserved by
145 // the code generator.
146 //
147 // Just remember to:
148 // - Close the class declaration with };
149 // - Close the namespace with PXR_NAMESPACE_CLOSE_SCOPE
150 // - Close the include guard with #endif
151 // ===================================================================== //
152 // --(BEGIN CUSTOM CODE)--
153};
154
155PXR_NAMESPACE_CLOSE_SCOPE
156
157#endif
Contains an asset path and an optional resolved path.
Definition: assetPath.h:30
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274
TfType represents a dynamic runtime type.
Definition: type.h:48
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Definition: prim.h:117
A RenderDenoisePass generates renders via a denoising process.
Definition: denoisePass.h:49
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.
Definition: denoisePass.h:54
UsdRenderDenoisePass(const UsdPrim &prim=UsdPrim())
Construct a UsdRenderDenoisePass on UsdPrim prim .
Definition: denoisePass.h:60
static USDRENDER_API UsdRenderDenoisePass Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
static USDRENDER_API UsdRenderDenoisePass Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdRenderDenoisePass holding the prim adhering to this schema at path on stage.
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
virtual USDRENDER_API ~UsdRenderDenoisePass()
Destructor.
UsdRenderDenoisePass(const UsdSchemaBase &schemaObj)
Construct a UsdRenderDenoisePass on the prim held by schemaObj .
Definition: denoisePass.h:68
The base class for all schema types in Usd.
Definition: schemaBase.h:39
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),...
Definition: typed.h:45
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
Definition: common.h:112
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440