Kohi Game Engine
loader_utils.h
Go to the documentation of this file.
1 
12 #pragma once
13 
14 #include "core/kmemory.h"
15 #include "defines.h"
17 
18 struct resource_loader;
19 
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:177
_Bool b8
8-bit boolean type
Definition: defines.h:58
This file contains the structures and functions of the memory system. This is responsible for memory ...
memory_tag
Tags to indicate the usage of memory allocations made in this system.
Definition: kmemory.h:21
KAPI b8 resource_unload(struct resource_loader *self, resource *resource, memory_tag tag)
Unloads a resource using the appropriate registered loader.
This file contains the types for common resources the engine uses.
An "interface" for a resource loader. All registered loaders use this.
Definition: resource_system.h:27
A generic structure for a resource. All resource loaders load data into these.
Definition: resource_types.h:67