Kohi Game Engine
|
This file contains the types for common resources the engine uses. More...
#include "identifiers/identifier.h"
#include "kresources/kresource_types.h"
#include "math/math_types.h"
#include <core_render_types.h>
Go to the source code of this file.
Data Structures | |
struct | resource_header |
The header data for binary resource types. More... | |
struct | resource |
A generic structure for a resource. All resource loaders load data into these. More... | |
Macros | |
#define | TERRAIN_MAX_MATERIAL_COUNT 4 |
#define | RESOURCE_MAGIC 0xcafebabe |
A magic number indicating the file as a kohi binary file. More... | |
Typedefs | |
typedef enum resource_type | resource_type |
Pre-defined resource types. More... | |
typedef struct resource_header | resource_header |
The header data for binary resource types. More... | |
typedef struct resource | resource |
A generic structure for a resource. All resource loaders load data into these. More... | |
Enumerations | |
enum | resource_type { RESOURCE_TYPE_TEXT , RESOURCE_TYPE_BINARY , RESOURCE_TYPE_IMAGE , RESOURCE_TYPE_MATERIAL , RESOURCE_TYPE_SHADER , RESOURCE_TYPE_MESH , RESOURCE_TYPE_BITMAP_FONT , RESOURCE_TYPE_SYSTEM_FONT , RESOURCE_TYPE_scene , RESOURCE_TYPE_TERRAIN , RESOURCE_TYPE_AUDIO , RESOURCE_TYPE_CUSTOM } |
Pre-defined resource types. More... | |
This file contains the types for common resources the engine uses.
#define RESOURCE_MAGIC 0xcafebabe |
A magic number indicating the file as a kohi binary file.
#define TERRAIN_MAX_MATERIAL_COUNT 4 |
A generic structure for a resource. All resource loaders load data into these.
typedef struct resource_header resource_header |
The header data for binary resource types.
typedef enum resource_type resource_type |
Pre-defined resource types.
enum resource_type |
Pre-defined resource types.