7#ifndef PXR_USD_USD_SPECIALIZES_H
8#define PXR_USD_USD_SPECIALIZES_H
11#include "pxr/usd/usd/api.h"
16#include "pxr/usd/sdf/path.h"
18PXR_NAMESPACE_OPEN_SCOPE
67 explicit operator bool() {
return bool(_prim); }
77PXR_NAMESPACE_CLOSE_SCOPE
A path value used to locate objects in layers or scenegraphs.
Represents a prim description in an SdfLayer object.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
A proxy class for applying listOp edits to the specializes list for a prim.
USD_API bool SetSpecializes(const SdfPathVector &items)
Explicitly set specializes paths, potentially blocking weaker opinions that add or remove items,...
USD_API bool ClearSpecializes()
Removes the authored specializes listOp edits at the current edit target.
USD_API bool RemoveSpecialize(const SdfPath &primPath)
Removes the specified path from the specializes listOp at the current EditTarget.
const UsdPrim & GetPrim() const
Return the prim this object is bound to.
USD_API bool AddSpecialize(const SdfPath &primPath, UsdListPosition position=UsdListPositionBackOfPrependList)
Adds a path to the specializes listOp at the current EditTarget, in the position specified by positio...
UsdListPosition
Specifies a position to add items to lists.
@ UsdListPositionBackOfPrependList
The position at the back of the prepend list.