|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Metadata that describes how a resource was (or should be) loaded. More...
#include <File.h>
Public Attributes | |
| ResourceIdentifier | Identifier |
| Cache/resource identity used for loading and ownership scoping. | |
| Endianness | ByteOrder |
| Byte order of the raw data. | |
| uint32_t | Type |
| Resource type identifier (see ResourceType). | |
| int32_t | ResourceVersion |
| Version of the resource format within its type family. | |
| uint64_t | Id |
| Content-hash / unique identifier for this resource. | |
| bool | IsCustom |
| True when this resource originated from an "alt assets" override path. | |
| uint32_t | Format |
| Binary or XML format tag (RESOURCE_FORMAT_BINARY / RESOURCE_FORMAT_XML). | |
Metadata that describes how a resource was (or should be) loaded.
ResourceInitData is populated by ResourceLoader during the header-parsing phase and is subsequently attached to every IResource instance. It is also used to supply override metadata when loading a resource with non-default options.
| Endianness Ship::ResourceInitData::ByteOrder |
Byte order of the raw data.
| uint32_t Ship::ResourceInitData::Format |
Binary or XML format tag (RESOURCE_FORMAT_BINARY / RESOURCE_FORMAT_XML).
| uint64_t Ship::ResourceInitData::Id |
Content-hash / unique identifier for this resource.
| ResourceIdentifier Ship::ResourceInitData::Identifier |
Cache/resource identity used for loading and ownership scoping.
| bool Ship::ResourceInitData::IsCustom |
True when this resource originated from an "alt assets" override path.
| int32_t Ship::ResourceInitData::ResourceVersion |
Version of the resource format within its type family.
| uint32_t Ship::ResourceInitData::Type |
Resource type identifier (see ResourceType).