Kohi Game Engine
kasset_utils.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "assets/kasset_types.h"
4 #include "defines.h"
5 
6 struct kasset_name;
7 
15 
24 
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
_Bool b8
8-bit boolean type
Definition: defines.h:58
kasset_type
Definition: kasset_types.h:26
KAPI kasset_type kasset_type_from_string(const char *type_str)
Attempts to convert the provided type string to the appropriate enumeration value.
KAPI b8 kasset_type_is_binary(kasset_type type)
Indicates if the given asset type is a binary asset type.
KAPI const char * kasset_type_to_string(kasset_type type)
Converts the given asset type enumeration value to its string representation. NOTE: Returns a copy of...