24 #ifndef USDGEOM_GENERATED_PRIMVARSAPI_H
25 #define USDGEOM_GENERATED_PRIMVARSAPI_H
143 static const TfType &_GetStaticTfType();
145 static bool _IsTypedSchema();
149 const TfType &_GetTfType()
const override;
194 int elementSize = -1)
const;
209 template <
typename T>
215 int elementSize = -1,
237 template <
typename T>
244 int elementSize = -1,
381 const std::vector<UsdGeomPrimvar> &inheritedFromAncestors)
const;
409 const std::vector<UsdGeomPrimvar> &inheritedFromAncestors)
const;
428 const std::vector<UsdGeomPrimvar> &inheritedFromAncestors)
const;
USDGEOM_API UsdSchemaKind _GetSchemaKind() const override
USDGEOM_API std::vector< UsdGeomPrimvar > GetPrimvarsWithAuthoredValues() const
UsdGeomPrimvar CreateIndexedPrimvar(const TfToken &name, const SdfValueTypeName &typeName, const T &value, const VtIntArray &indices, const TfToken &interpolation=TfToken(), int elementSize=-1, UsdTimeCode time=UsdTimeCode::Default()) const
USDGEOM_API UsdGeomPrimvar GetPrimvar(const TfToken &name) const
GLsizei GLenum const void * indices
UsdGeomPrimvarsAPI(const UsdPrim &prim=UsdPrim())
USDGEOM_API std::vector< UsdGeomPrimvar > FindIncrementallyInheritablePrimvars(const std::vector< UsdGeomPrimvar > &inheritedFromAncestors) const
static constexpr UsdTimeCode Default()
USDGEOM_API std::vector< UsdGeomPrimvar > GetAuthoredPrimvars() const
USDGEOM_API std::vector< UsdGeomPrimvar > FindPrimvarsWithInheritance() const
GT_API const UT_StringHolder time
GLsizei const GLchar *const * path
USDGEOM_API UsdGeomPrimvar CreatePrimvar(const TfToken &name, const SdfValueTypeName &typeName, const TfToken &interpolation=TfToken(), int elementSize=-1) const
UsdGeomPrimvar CreateNonIndexedPrimvar(const TfToken &name, const SdfValueTypeName &typeName, const T &value, const TfToken &interpolation=TfToken(), int elementSize=-1, UsdTimeCode time=UsdTimeCode::Default()) const
USDGEOM_API std::vector< UsdGeomPrimvar > FindInheritablePrimvars() const
virtual USDGEOM_API ~UsdGeomPrimvarsAPI()
Destructor.
static USDGEOM_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
static USDGEOM_API bool CanContainPropertyName(const TfToken &name)
USDGEOM_API bool HasPrimvar(const TfToken &name) const
std::vector< TfToken > TfTokenVector
Convenience types.
USDGEOM_API void BlockPrimvar(const TfToken &name)
GLuint const GLchar * name
bool Set(const T &value, UsdTimeCode time=UsdTimeCode::Default()) const
USDGEOM_API bool RemovePrimvar(const TfToken &name)
static const UsdSchemaKind schemaKind
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USDGEOM_API std::vector< UsdGeomPrimvar > GetPrimvars() const
UsdGeomPrimvarsAPI(const UsdSchemaBase &schemaObj)
UsdAttribute const & GetAttr() const
Explicit UsdAttribute extractor.
#define PXR_NAMESPACE_CLOSE_SCOPE
USDGEOM_API bool HasPossiblyInheritedPrimvar(const TfToken &name) const
USDGEOM_API bool SetIndices(const VtIntArray &indices, UsdTimeCode time=UsdTimeCode::Default()) const
USDGEOM_API std::vector< UsdGeomPrimvar > GetPrimvarsWithValues() const
static USDGEOM_API UsdGeomPrimvarsAPI Get(const UsdStagePtr &stage, const SdfPath &path)
USDGEOM_API UsdGeomPrimvar FindPrimvarWithInheritance(const TfToken &name) const
USDGEOM_API void BlockIndices() const