8#define ASSET_DIR_HDR "assets/textures/hdr"
12#define ASSET_DIR_SHADERS "shaders"
14#define ASSET_DIR_MODELS "assets/models"
AssetType
Definition asset_manager.h:17
@ ASSET_TYPE_UNKNOWN
Definition asset_manager.h:18
@ ASSET_TYPE_TEXTURE_KTX
Definition asset_manager.h:20
@ ASSET_TYPE_TEXTURE_STB
Definition asset_manager.h:19
bool asset_resolve_path(const char *base_dir, const char *filename, AssetHandle *out_handle)
Tente de résoudre un fichier en une ressource reconnue.
Definition asset_manager.c:46
AssetFlags
Definition asset_manager.h:25
@ ASSET_FLAG_COMPRESSED
Definition asset_manager.h:28
@ ASSET_FLAG_NONE
Definition asset_manager.h:26
@ ASSET_FLAG_HDR_CAPABLE
Definition asset_manager.h:27
bool asset_has_flag(const char *filename, uint32_t flag)
Vérifie si un fichier correspond à un flag spécifique (ex: ASSET_FLAG_HDR_CAPABLE)
Definition asset_manager.c:71
Definition asset_manager.h:32
uint32_t flags
Definition asset_manager.h:36
AssetType type
Definition asset_manager.h:35