|
BLAM bool | Blam::Rendering::Initialize () |
| Initializes the OGRE rendering library. More...
|
|
BLAM void | Blam::Rendering::RenderLoop () |
| Function to handle the render loop. More...
|
|
BLAM void | Blam::Rendering::RenderThread () |
| Function used to handle the render thread. More...
|
|
BLAM void | Blam::Rendering::Shutdown () |
| Shuts down OGRE and cleans up any memory used by it. More...
|
|
BLAM void | Blam::Rendering::ProcessSDLEvents (SDL_Event *event) |
| Function used to allow OGRE to handle SDL events. More...
|
|
BLAM Demo::GraphicsSystem * | Blam::Rendering::GetGraphicsSystem () |
| Retrieves the graphics system used by OGRE. More...
|
|
BLAM void | Blam::Rendering::HandleWindowReisze (int width, int height) |
| Instructs OGRE to handle a window resize. More...
|
|
BLAM int | Blam::Rendering::GetRenderWidth () |
| Retrieves the current width of the OGRE viewport. More...
|
|
BLAM int | Blam::Rendering::GetRenderHeight () |
| Retrieves the current height of the OGRE viewport. More...
|
|
BLAM Ogre::Window * | Blam::Rendering::GetRenderWindow () |
| Retrieves the primary OGRE rendering window. More...
|
|
BLAM double | Blam::Rendering::GetDeltaTime () |
| Retrieves delta time that has passed since the previous frame was completed. More...
|
|
BLAM void | Blam::Rendering::TakeScreenshot () |
| Instructs OGRE to save a screenshot on the next frame. More...
|
|
BLAM void | Blam::Rendering::WriteScreenshot () |
| Saves a screenshot of the current frame to a file. More...
|
|
BLAM Ogre::SceneManager * | Blam::Rendering::Get2DSceneManager () |
| Retrieves the scene manager used to handle 2D rendering. More...
|
|
BLAM Ogre::Camera * | Blam::Rendering::Get2DCamera () |
| Retrieves the camera used to handle 2D rendering. More...
|
|
BLAM void | Blam::Rendering::DisplayBasicCrashScreen (std::string additional_info="") |
| Displays a basic crash screen, with an optional message. More...
|
|
BLAM void | Blam::Rendering::DisplayDetailedCrashScreen (std::string expression, std::string file, int line, std::string message) |
| Displays a detailed crash screen. More...
|
|
BLAM bool | Blam::Rendering::GetImGuiHiddenState () |
| Checks whether ImGUI is currently hidden or not. More...
|
|
BLAM void | Blam::Rendering::Materials::RebuildDatablocks () |
| Rebuilds ALL datablocks (including instances) from their original tags. More...
|
|
BLAM bool | Blam::Rendering::Materials::BuildDatablockFromTag (material *material_tag, std::string tag_path) |
| Creates an OGRE material datablock from a material tag. More...
|
|
BLAM void | Blam::Rendering::Materials::ReloadPendingMaterials () |
| Reloads all datablocks which are flagged as requiring a reload. More...
|
|
BLAM Ogre::HlmsDatablock * | Blam::Rendering::Materials::GetDatablockFromTag (std::string tag_path) |
| Retrieves an OGRE datablock from a material tag path. More...
|
|
BLAM ogre_material_instance_data * | Blam::Rendering::Materials::GetDatablockInstanceFromTag (std::string tag_path, std::string referencing_tag_path) |
| Retrieves a datablock instance from a material tag path, and a referencing tag path. More...
|
|
BLAM ogre_material_instance_data * | Blam::Rendering::Materials::CreateDatablockInstance (std::string tag_path, std::string referencing_tag_path) |
| Creates a new datablock instance from a material tag path, and a referencing tag path. More...
|
|
BLAM bool | Blam::Rendering::Materials::LoadPBSDatablockFromMaterialTag (Ogre::HlmsPbsDatablock *datablock, material *material_tag) |
| Loads a PBS (Physically-Based Shading) datablock from a material tag. More...
|
|
BLAM bool | Blam::Rendering::Materials::LoadUnlitDatablockFromMaterialTag (Ogre::HlmsUnlitDatablock *datablock, material *material_tag) |
| Loads an Unlit datablock from a material tag. More...
|
|
BLAM Ogre::HlmsUnlitDatablock * | Blam::Rendering::Materials::CreateDefaultUnlitDatablock (std::string id) |
| Creates a default Unlit datablock. More...
|
|
BLAM Ogre::HlmsUnlitDatablock * | Blam::Rendering::Materials::CreateDefaultUnlitDatablockForPrimitives (std::string id) |
| Creates a default Unlit datablock for use with 2D and 3D primitives. More...
|
|
BLAM Ogre::HlmsPbsDatablock * | Blam::Rendering::Materials::CreateDefaultPbsDatablock (std::string id) |
| Creates a default PBS datablock. More...
|
|
BLAM Ogre::HlmsPbsDatablock * | Blam::Rendering::Materials::CreateDefaultPbsDatablockForPrimitives (std::string id) |
| Creates a default PBS datablock for use with 2D and 3D primitives. More...
|
|
BLAM void | Blam::Rendering::Textures::BuildTextureFromTag (bitmap *bitmap_tag, std::string tag_path) |
| Loads a texture into OGRE from a bitmap tag. More...
|
|
BLAM Ogre::TextureGpu * | Blam::Rendering::Textures::GetTextureFromTag (std::string tag_path) |
| Retrieves an OGRE texture from a tag path. More...
|
|
BLAM void | Blam::Rendering::Textures::ReloadPendingBitmaps () |
| Reloads all bitmaps that are currently pending a reload. More...
|
|
BLAM Ogre::TextureGpu * | Blam::Rendering::Textures::LoadTexture2D (std::string id, void *pixel_data, int width, int height, Ogre::PixelFormatGpu format, int bytes_per_line) |
| Loads a 2D texture from data in memory. More...
|
|