|
SuperDex Physics C++ API
|
Unique identifier for a Scene within a Context. More...
#include <mochi_handle.h>
Public Member Functions | |
| Handle ()=default | |
| Handle (ValueType raw) | |
| Construct a handle from its raw 64-bit identifier. | |
| Public Member Functions inherited from superdex::Handle | |
| uint64_t | GetHash () const |
| Compute a hash of the handle for use in unordered containers. | |
| Handle ()=default | |
| Handle (ValueType raw) | |
| Construct a handle from its raw 64-bit identifier. | |
| bool | IsValid () const |
| Check whether the handle is valid (i.e., its value is non-zero). | |
| bool | operator!= (Handle const &rhs) const |
| bool | operator< (Handle const &rhs) const |
| bool | operator== (Handle const &rhs) const |
Additional Inherited Members | |
| Public Types inherited from superdex::Handle | |
| using | ValueType = uint64_t |
| Raw 64-bit identifier type. | |
| Public Attributes inherited from superdex::Handle | |
| ValueType | value = kInvalidHandle |
| Raw 64-bit identifier. | |
Unique identifier for a Scene within a Context.
Definition at line 46 of file mochi_handle.h.
|
default |
|
inlineexplicit |
Construct a handle from its raw 64-bit identifier.
| [in] | raw | The raw handle identifier. |
Definition at line 34 of file mochi_handle_inl.h.