8#define RESOURCE_TYPE_FONT 0x464F4E54
18 using Resource::Resource;
A resource representing a loaded font file (e.g. TTF).
Definition Font.h:16
size_t GetPointerSize() override
Returns the size of the raw font data in bytes.
void * GetPointer() override
Returns a pointer to the raw font data.
char * Data
Raw font file data.
Definition Font.h:39
Font()
Constructs an empty Font resource.
virtual ~Font()
Destructor.
size_t DataSize
Size of the font data buffer in bytes.
Definition Font.h:42
Typed resource base class that provides a strongly-typed pointer accessor.
Definition Resource.h:73
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14