const int BLAM_TEXTURE_INITIAL_LAYERS_PER_CLASS[BLAM_TEXTURE_SIZE_CLASS_COUNT]
Definition: texture_storage.cpp:37
void UpdateLayer(BlamTextureRef ref, int width, int height, const void *pixel_data, int pixel_data_size)
Definition: texture_storage.cpp:373
void BindArraysForFrame(uint8_t first_stage)
Definition: texture_storage.cpp:424
int GetSizeClassCount()
Definition: texture_storage.cpp:479
BlamTextureRef BlamTextureRef_MakeInvalid()
Definition: texture_storage.h:50
uint32_t reserved
Definition: texture_storage.h:38
#define BLAM_TEXTURE_REF_INVALID_STORAGE_ID
Definition: texture_storage.h:41
bool BlamTextureRef_IsValid(BlamTextureRef ref)
Definition: texture_storage.h:44
void Release(BlamTextureRef ref)
Definition: texture_storage.cpp:401
void Shutdown()
Definition: texture_storage.cpp:280
BlamTextureRef UploadFromTag(const char *tag_path, int width, int height, bgfx::TextureFormat::Enum format, uint32_t sampler_flags, const void *pixel_data, int pixel_data_size)
Definition: texture_storage.cpp:307
#define BLAM_TEXTURE_SIZE_CLASS_COUNT
Definition: texture_storage.h:74
BlamTextureRef GetTextureRefFromTag(std::string tag_path)
Definition: bitmaps.cpp:566
Definition: texture_storage.h:33
uint32_t storage_id
Definition: texture_storage.h:35
void OnBitmapTagUnloading(std::string tag_path)
Definition: bitmaps.cpp:619
uint32_t layer
Definition: texture_storage.h:36
uint32_t sampler_flags
Definition: texture_storage.h:37
void Initialize()
Definition: texture_storage.cpp:248
const int BLAM_TEXTURE_SIZE_CLASS_RESOLUTIONS[BLAM_TEXTURE_SIZE_CLASS_COUNT]
Definition: texture_storage.cpp:33