![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
#include "components/rendering/rendering.h"#include <OGRE/OgreHlmsManager.h>#include <OGRE/Hlms/Pbs/OgreHlmsPbs.h>#include <OGRE/OgreTextureGpuManager.h>#include <OGRE/OgreTextureFilters.h>#include <OGRE/OgreStagingTexture.h>#include <OGRE/OgreRoot.h>#include <Strings/components/classes/map/map.h>#include "api/v1/types/tags/classes/bitmap.h"#include "components/diagnostics/logger/logger.h"
Include dependency graph for textures.cpp:Classes | |
| struct | ogre_texture_info_data |
| Data structure used to group together information about a texture. More... | |
Functions | |
| Ogre::PixelFormatGpu | determine_gpu_pixel_format (bitmap::format_enum tag_format) |
| Converts a bitmap pixel format enum value to the equivalent OGRE pixel format. More... | |
| Ogre::TextureGpu * | build_ogre_texture_data (ogre_texture_info_data *texture_info) |
| Loads a texture into OGRE from a texture information structure. More... | |
Variables | |
| BlamMap< std::string, ogre_texture_info_data * > | ogre_texture_map = BlamMap<std::string, ogre_texture_info_data*>() |
| Map containing information on all loaded textures. More... | |
| Ogre::TextureGpu* build_ogre_texture_data | ( | ogre_texture_info_data * | texture_info | ) |
Loads a texture into OGRE from a texture information structure.
| texture_info | - The texture information structure to build a texture from. |
nullptr if the texture could not be loaded.
Here is the call graph for this function:
Here is the caller graph for this function:| Ogre::PixelFormatGpu determine_gpu_pixel_format | ( | bitmap::format_enum | tag_format | ) |
Converts a bitmap pixel format enum value to the equivalent OGRE pixel format.
| tag_format | - The bitmap pixel format value to convert. |
Ogre::PixelFormatGpu::PFG_UNKNOWN is returned.
Here is the caller graph for this function:| BlamMap<std::string, ogre_texture_info_data*> ogre_texture_map = BlamMap<std::string, ogre_texture_info_data*>() |
Map containing information on all loaded textures.
Each key contains the tag path of the texture's bitmap tag, and each value stores the texture information structure.