24 #ifndef USDSHADE_GENERATED_NODEDEFAPI_H
25 #define USDSHADE_GENERATED_NODEDEFAPI_H
184 static const TfType &_GetStaticTfType();
186 static bool _IsTypedSchema();
190 const TfType &_GetTfType()
const override;
USDSHADE_API TfToken GetImplementationSource() const
USDSHADE_API TfStaticData< UsdShadeTokensType > UsdShadeTokens
UsdShadeNodeDefAPI(const UsdPrim &prim=UsdPrim())
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
USDSHADE_API bool SetSourceAsset(const SdfAssetPath &sourceAsset, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
USDSHADE_API UsdAttribute CreateIdAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
SdrShaderNode const * SdrShaderNodeConstPtr
virtual USDSHADE_API ~UsdShadeNodeDefAPI()
Destructor.
USDSHADE_API UsdAttribute GetIdAttr() const
USDSHADE_API bool GetSourceAssetSubIdentifier(TfToken *subIdentifier, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
USDSHADE_API bool SetSourceCode(const std::string &sourceCode, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
USDSHADE_API bool GetSourceAsset(SdfAssetPath *sourceAsset, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
static USDSHADE_API UsdShadeNodeDefAPI Apply(const UsdPrim &prim)
USDSHADE_API bool SetSourceAssetSubIdentifier(const TfToken &subIdentifier, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
static USDSHADE_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
std::vector< TfToken > TfTokenVector
Convenience types.
USDSHADE_API UsdAttribute GetImplementationSourceAttr() const
static const UsdSchemaKind schemaKind
USDSHADE_API bool SetShaderId(const TfToken &id) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USDSHADE_API UsdSchemaKind _GetSchemaKind() const override
#define PXR_NAMESPACE_CLOSE_SCOPE
USDSHADE_API SdrShaderNodeConstPtr GetShaderNodeForSourceType(const TfToken &sourceType) const
USDSHADE_API bool GetShaderId(TfToken *id) const
USDSHADE_API bool GetSourceCode(std::string *sourceCode, const TfToken &sourceType=UsdShadeTokens->universalSourceType) const
USDSHADE_API UsdAttribute CreateImplementationSourceAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
UsdShadeNodeDefAPI(const UsdSchemaBase &schemaObj)
static USDSHADE_API bool CanApply(const UsdPrim &prim, std::string *whyNot=nullptr)
static USDSHADE_API UsdShadeNodeDefAPI Get(const UsdStagePtr &stage, const SdfPath &path)