4 #ifndef _3ESRESOURCE_H_ 5 #define _3ESRESOURCE_H_ 14 struct TransferProgress;
42 virtual uint32_t id()
const = 0;
47 virtual uint16_t typeId()
const = 0;
50 inline uint64_t
uniqueKey()
const {
return ((uint64_t)typeId() << 32) | (uint64_t)
id(); }
103 #endif // _3ESRESOURCE_H_ uint64_t uniqueKey() const
Returns a unique key for this resource, based on the typeId() and id().
Definition: 3esresource.h:50
Definition: 3esbounds.h:13
A structure tracking progress of a data transfer.
Definition: 3estransferprogress.h:18
The Resource base class defines an interface for any resource used by Shape objects such as MeshSet...
Definition: 3esresource.h:34
A utility class for writing payload data to a PacketHeader.
Definition: 3espacketwriter.h:34