HDK
|
#include <imageable.h>
Public Member Functions | |
constexpr | PurposeInfo ()=default |
PurposeInfo (const TfToken &purpose_, bool isInheritable_) | |
operator bool () const | |
Returns true if this represents a purpose that has been computed. More... | |
bool | operator== (const PurposeInfo &rhs) |
bool | operator!= (const PurposeInfo &rhs) |
const TfToken & | GetInheritablePurpose () const |
Returns the purpose if it's inheritable, returns empty if it is not. More... | |
Public Attributes | |
TfToken | purpose |
bool | isInheritable = false |
Value type containing information about a prim's computed effective purpose as well as storing whether the prim's purpose value can be inherited by namespace children if necessary. This provides the purpose information necessary for efficiently computing and caching the purposes of a hierarchy of prims.
Definition at line 400 of file imageable.h.
|
default |
|
inline |
Definition at line 403 of file imageable.h.
|
inline |
Returns the purpose if it's inheritable, returns empty if it is not.
Definition at line 426 of file imageable.h.
|
inlineexplicit |
Returns true if this represents a purpose that has been computed.
Definition at line 415 of file imageable.h.
|
inline |
Definition at line 421 of file imageable.h.
|
inline |
Definition at line 417 of file imageable.h.
bool UsdGeomImageable::PurposeInfo::isInheritable = false |
Whether this purpose should be inherited by namespace children that do not have their own authored purpose value.
Definition at line 412 of file imageable.h.
TfToken UsdGeomImageable::PurposeInfo::purpose |
The computed purpose. An empty purpose indicates that this represents a purpose that hasn't been computed yet.
Definition at line 408 of file imageable.h.