Kohi Game Engine
resource_header Struct Reference

The header data for binary resource types. More...

#include <resource_types.h>

Data Fields

u32 magic_number
 A magic number indicating the file as a kohi binary file. More...
 
u8 resource_type
 The resource type. Maps to the enum resource_type. More...
 
u8 version
 The format version this resource uses. More...
 
u16 reserved
 Reserved for future header data.. More...
 

Detailed Description

The header data for binary resource types.

Field Documentation

◆ magic_number

u32 magic_number

A magic number indicating the file as a kohi binary file.

◆ reserved

u16 reserved

Reserved for future header data..

◆ resource_type

The resource type. Maps to the enum resource_type.

◆ version

u8 version

The format version this resource uses.


The documentation for this struct was generated from the following file: