24 #ifndef USDRENDER_GENERATED_SETTINGSAPI_H
25 #define USDRENDER_GENERATED_SETTINGSAPI_H
30 #include "pxr/usd/usdRender/api.h"
35 #include "pxr/base/vt/value.h"
42 #include "pxr/base/tf/type.h"
44 PXR_NAMESPACE_OPEN_SCOPE
104 Get(
const UsdStagePtr &stage,
const SdfPath &path);
157 static const TfType &_GetStaticTfType();
159 static bool _IsTypedSchema();
163 const TfType &_GetTfType()
const override;
178 PXR_NAMESPACE_CLOSE_SCOPE
UsdRenderSettingsAPI(const UsdPrim &prim=UsdPrim())
Construct a UsdRenderSettingsAPI on UsdPrim prim .
static USDRENDER_API UsdRenderSettingsAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdRenderSettingsAPI holding the prim adhering to this schema at path on stage...
UsdRenderSettingsAPI is a base class for API schemas to encode renderer-specific settings.
The base class for all API schemas.
static USDRENDER_API bool CanApply(const UsdPrim &prim, std::string *whyNot=nullptr)
Returns true if this single-apply API schema can be applied to the given prim.
virtual USDRENDER_API ~UsdRenderSettingsAPI()
Destructor.
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDRENDER_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
UsdRenderSettingsAPI(const UsdSchemaBase &schemaObj)
Construct a UsdRenderSettingsAPI on the prim held by schemaObj .
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
static USDRENDER_API UsdRenderSettingsAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
A path value used to locate objects in layers or scenegraphs.
Contains an asset path and an optional resolved path.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
TfType represents a dynamic runtime type.
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...
Singleton registry that provides access to schema type information and the prim definitions for regis...
The base class for all schema types in Usd.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...