Kohi Game Engine
|
#include "assets/kasset_types.h"
Go to the source code of this file.
Functions | |
KAPI void * | kasset_bitmap_font_serialize (const kasset_bitmap_font *asset, u64 *out_size) |
Attempts to serialize the asset into a binary blob. NOTE: allocates memory that should be freed by the caller. More... | |
KAPI b8 | kasset_bitmap_font_deserialize (u64 size, const void *data, kasset_bitmap_font *out_asset) |
KAPI b8 kasset_bitmap_font_deserialize | ( | u64 | size, |
const void * | data, | ||
kasset_bitmap_font * | out_asset | ||
) |
KAPI void* kasset_bitmap_font_serialize | ( | const kasset_bitmap_font * | asset, |
u64 * | out_size | ||
) |
Attempts to serialize the asset into a binary blob. NOTE: allocates memory that should be freed by the caller.
asset | A constant pointer to the asset to be serialized. Required. |
out_size | A pointer to hold the size of the serialized block of memory. Required. |