![]() |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Data structure used to store OGRE material instance data. More...
#include <rendering.h>
Public Attributes | |
ogre_material_info_data * | original_material = nullptr |
Pointer to the original material information. More... | |
std::string | referencing_tag_path = "" |
The path of the tag that uses this material instance. More... | |
Ogre::HlmsDatablock * | instance_datablock = nullptr |
The datablock used for this material instance. More... | |
material * | tag_instance = nullptr |
Pointer to the tag that uses this material instance. More... | |
bool | needs_reload = false |
Whether or not this material instance needs to be reloaded. More... | |
bool | persistent_reload = false |
Whether or not to continuously update this material (ie, live editing). More... | |
Data structure used to store OGRE material instance data.
This data is used to store an "instance" of an OGRE material (datablock) that can have modified paramters. In most cases, these will be created as a result of an object overriding material input parameters.
Ogre::HlmsDatablock* ogre_material_instance_data::instance_datablock = nullptr |
The datablock used for this material instance.
bool ogre_material_instance_data::needs_reload = false |
Whether or not this material instance needs to be reloaded.
ogre_material_info_data* ogre_material_instance_data::original_material = nullptr |
Pointer to the original material information.
bool ogre_material_instance_data::persistent_reload = false |
Whether or not to continuously update this material (ie, live editing).
std::string ogre_material_instance_data::referencing_tag_path = "" |
The path of the tag that uses this material instance.
material* ogre_material_instance_data::tag_instance = nullptr |
Pointer to the tag that uses this material instance.