24 #ifndef PXR_USD_SDF_VARIANT_SPEC_H
25 #define PXR_USD_SDF_VARIANT_SPEC_H
66 static SdfVariantSpecHandle
New(
const SdfVariantSetSpecHandle& owner,
88 SdfVariantSetSpecHandle
GetOwner()
const;
119 const SdfLayerHandle &
layer,
SDF_API SdfPrimSpecHandle GetPrimSpec() const
Get the prim spec owned by this variant.
GLsizei const GLchar *const * string
SDF_API SdfVariantSpecHandle SdfCreateVariantInLayer(const SdfLayerHandle &layer, const SdfPath &primPath, const std::string &variantSetName, const std::string &variantName)
GLenum GLuint GLint GLint layer
SDF_API std::string GetName() const
Returns the name of this variant.
SDF_API TfToken GetNameToken() const
Returns the name of this variant.
static SDF_API SdfVariantSpecHandle New(const SdfVariantSetSpecHandle &owner, const std::string &name)
Constructs a new instance.
PXR_NAMESPACE_OPEN_SCOPE SDF_DECLARE_HANDLES(SdfLayer)
GLuint const GLchar * name
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SDF_API SdfVariantSetSpecHandle GetOwner() const
Return the SdfVariantSetSpec that owns this variant.
SDF_API SdfVariantSetsProxy GetVariantSets() const
#define PXR_NAMESPACE_CLOSE_SCOPE
SDF_API std::vector< std::string > GetVariantNames(const std::string &name) const
Returns list of variant names for the given variant set.