![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Data structure used to group together information about a texture. More...
Collaboration diagram for bgfx_texture_info_data:Public Attributes | |
| bitmap * | bitmap_tag = nullptr |
| The bitmap tag that the texture originates from. More... | |
| std::string | tag_path = "" |
| The tag path of the bitmap tag that the texture originates from. More... | |
| bgfx::TextureHandle | texture |
| The bgfx texture data. More... | |
| BlamTextureRef | array_ref = { BLAM_TEXTURE_REF_INVALID_STORAGE_ID, 0, 0, 0 } |
| bool | load_pending = false |
| Whether or not the texture is currently pending being loaded. More... | |
Data structure used to group together information about a texture.
Phase 1 update: now tracks BOTH forms of GPU storage. A texture may have:
Each form is created lazily on first request - GetTextureFromTag for the raw handle, GetTextureRefFromTag for the array ref. Both are cached after creation. Both are released when OnBitmapTagUnloading fires.
| BlamTextureRef bgfx_texture_info_data::array_ref = { BLAM_TEXTURE_REF_INVALID_STORAGE_ID, 0, 0, 0 } |
| bitmap* bgfx_texture_info_data::bitmap_tag = nullptr |
The bitmap tag that the texture originates from.
| bool bgfx_texture_info_data::load_pending = false |
Whether or not the texture is currently pending being loaded.
| std::string bgfx_texture_info_data::tag_path = "" |
The tag path of the bitmap tag that the texture originates from.
| bgfx::TextureHandle bgfx_texture_info_data::texture |
The bgfx texture data.