![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Class used to store OGRE material information. More...
#include <rendering.h>
Public Member Functions | |
| ogre_material_instance_data * | CreateNewInstance (BlamTagData *referencing_tag) |
| Creates a new instance of this material. More... | |
Public Attributes | |
| std::string | tag_path = "" |
| The tag path that this material was loaded from. More... | |
| Ogre::HlmsDatablock * | datablock = nullptr |
| The datablock used for this material. More... | |
| bool | needs_reload = false |
| Whether or not this material needs to be reloaded. More... | |
| bool | persistent_reload = false |
| Whether or not to continuously update this material (ie, live editing). More... | |
| Ogre::HlmsTypes | hlms_type = Ogre::HlmsTypes::HLMS_UNLIT |
| The HLMS type of this material. More... | |
| BlamMap< std::string, ogre_material_instance_data * > | instances = BlamMap<std::string, ogre_material_instance_data*>() |
| A map containing all instances of this material. More... | |
Class used to store OGRE material information.
This allows for additional information to be stored alongside an OGRE material - such as an origin tag, instances, and so on.
| ogre_material_instance_data * ogre_material_info_data::CreateNewInstance | ( | BlamTagData * | referencing_tag | ) |
Creates a new instance of this material.
| referencing_tag | - The tag that the instance is being created for. |
nullptr if the instance could not be created.
Here is the call graph for this function:
Here is the caller graph for this function:| Ogre::HlmsDatablock* ogre_material_info_data::datablock = nullptr |
The datablock used for this material.
| Ogre::HlmsTypes ogre_material_info_data::hlms_type = Ogre::HlmsTypes::HLMS_UNLIT |
The HLMS type of this material.
| BlamMap<std::string, ogre_material_instance_data*> ogre_material_info_data::instances = BlamMap<std::string, ogre_material_instance_data*>() |
A map containing all instances of this material.
Each key contains the referencing tag path (as in, the tag which uses a given instance), and each value contains the data for the material instance.
| bool ogre_material_info_data::needs_reload = false |
Whether or not this material needs to be reloaded.
| bool ogre_material_info_data::persistent_reload = false |
Whether or not to continuously update this material (ie, live editing).
| std::string ogre_material_info_data::tag_path = "" |
The tag path that this material was loaded from.