| 12345678910111213141516171819202122232425 |
- #pragma once
- #include "Types.h"
- #include "Resource.h"
- namespace crown
- {
- class Bundle;
- class Allocator;
- class TextResource
- {
- public:
- static void* load(Allocator& allocator, Bundle& bundle, ResourceId id);
- static void unload(Allocator& allocator, void* resource);
- static void online(void* resource);
- static void offline();
- uint32_t length;
- char* data;
- };
- } // namespace crown
|