|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Cache key that uniquely identifies a ResourceFactory by format, type, and version. More...
#include <ResourceLoader.h>
Public Member Functions | |
| bool | operator== (const ResourceFactoryKey &o) const |
Public Attributes | |
| uint32_t | resourceFormat |
| Format tag (RESOURCE_FORMAT_BINARY or RESOURCE_FORMAT_XML). | |
| uint32_t | resourceType |
| Numeric resource type identifier (see ResourceType). | |
| uint32_t | resourceVersion |
| Version of the resource format this factory handles. | |
Cache key that uniquely identifies a ResourceFactory by format, type, and version.
The three-field key allows multiple factories to be registered for the same resource type (e.g. different binary versions or an XML variant of the same type).
|
inline |
| uint32_t Ship::ResourceFactoryKey::resourceFormat |
Format tag (RESOURCE_FORMAT_BINARY or RESOURCE_FORMAT_XML).
| uint32_t Ship::ResourceFactoryKey::resourceType |
Numeric resource type identifier (see ResourceType).
| uint32_t Ship::ResourceFactoryKey::resourceVersion |
Version of the resource format this factory handles.