7 #ifndef PXR_USD_SDF_RELATIONSHIP_SPEC_H
8 #define PXR_USD_SDF_RELATIONSHIP_SPEC_H
51 static SdfRelationshipSpecHandle
52 New(
const SdfPrimSpecHandle& owner,
53 const std::string&
name,
108 SdfPath _MakeCompleteTargetSpecPath(
const SdfPath& srcPath)
const;
110 SdfSpecHandle _GetTargetSpec(
const SdfPath&
path)
const;
131 SdfRelationshipSpecHandle
133 const SdfLayerHandle &
layer,
136 bool isCustom =
false);
155 const SdfLayerHandle &
layer,
158 bool isCustom =
false);
162 #endif // PXR_USD_SDF_RELATIONSHIP_SPEC_H
SDF_API SdfRelationshipSpecHandle SdfCreateRelationshipInLayer(const SdfLayerHandle &layer, const SdfPath &relPath, SdfVariability variability=SdfVariabilityVarying, bool isCustom=false)
SDF_API bool GetNoLoadHint(void) const
SDF_API SdfTargetsProxy GetTargetPathList() const
GLsizei const GLchar *const * path
friend class Sdf_PyRelationshipAccess
static SDF_API SdfRelationshipSpecHandle New(const SdfPrimSpecHandle &owner, const std::string &name, bool custom=true, SdfVariability variability=SdfVariabilityUniform)
GLenum GLuint GLint GLint layer
SDF_API void ClearTargetPathList() const
Clears the list of target paths on this relationship.
GLuint const GLchar * name
SDF_API bool HasTargetPathList() const
Returns true if the relationship has any target paths.
SDF_API void ReplaceTargetPath(const SdfPath &oldPath, const SdfPath &newPath)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
SDF_API void RemoveTargetPath(const SdfPath &path, bool preserveTargetOrder=false)
SDF_API bool SdfJustCreateRelationshipInLayer(const SdfLayerHandle &layer, const SdfPath &relPath, SdfVariability variability=SdfVariabilityVarying, bool isCustom=false)
SDF_API void SetNoLoadHint(bool noload)