24 #ifndef USDRI_GENERATED_LIGHTFILTERAPI_H
25 #define USDRI_GENERATED_LIGHTFILTERAPI_H
30 #include "pxr/usd/usdRi/api.h"
36 #include "pxr/base/vt/value.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
113 Get(
const UsdStagePtr &stage,
const SdfPath &path);
166 static const TfType &_GetStaticTfType();
168 static bool _IsTypedSchema();
172 const TfType &_GetTfType()
const override;
362 PXR_NAMESPACE_CLOSE_SCOPE
static USDRI_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 USDRI_API ~UsdRiLightFilterAPI()
Destructor.
USDRI_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
USDRI_API UsdAttribute CreateRiDensityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiDensityAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDRI_API UsdAttribute GetRiCombineModeAttr() const
Specifies how this filter combines with others.
USDRI_API UsdAttribute GetRiSpecularAttr() const
A multiplier for the effect of this light on the specular response of materials.
The base class for all API schemas.
Scenegraph object for authoring and retrieving numeric, string, and array valued data, sampled over time.
USDRI_API UsdAttribute GetRiInvertAttr() const
When true, inverts the output of the light filter.
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDRI_API UsdAttribute CreateRiIntensityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiIntensityAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
static USDRI_API UsdRiLightFilterAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdRiLightFilterAPI holding the prim adhering to this schema at path on stage.
USDRI_API UsdAttribute CreateRiDiffuseAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiDiffuseAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
USDRI_API UsdAttribute GetRiExposureAttr() const
Exposure control for the multiplier.
A path value used to locate objects in layers or scenegraphs.
static USDRI_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...
USDRI_API UsdAttribute GetRiDiffuseAttr() const
A multiplier for the effect of this light on the diffuse response of materials.
static USDRI_API UsdRiLightFilterAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
Contains an asset path and an optional resolved path.
UsdRiLightFilterAPI(const UsdSchemaBase &schemaObj)
Construct a UsdRiLightFilterAPI on the prim held by schemaObj .
USDRI_API UsdAttribute CreateRiCombineModeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiCombineModeAttr(), 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...
The base class for all schema types in Usd.
USDRI_API UsdAttribute GetRiDensityAttr() const
Scales the strength of the filter.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
USDRI_API UsdAttribute CreateRiSpecularAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiSpecularAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDRI_API UsdAttribute GetRiIntensityAttr() const
Multipier for the diffuse and specular result.
UsdRiLightFilterAPI(const UsdPrim &prim=UsdPrim())
Construct a UsdRiLightFilterAPI on UsdPrim prim .
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
USDRI_API UsdAttribute CreateRiInvertAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiInvertAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDRI_API UsdAttribute CreateRiExposureAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRiExposureAttr(), and also Create vs Get Property Methods for when to use Get vs Create...