Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
ogre_material_instance_data Struct Reference

Data structure used to store OGRE material instance data. More...

#include <rendering.h>

+ Collaboration diagram for ogre_material_instance_data:

Public Attributes

ogre_material_info_dataoriginal_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...
 
materialtag_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...
 

Detailed Description

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.

Member Data Documentation

◆ instance_datablock

Ogre::HlmsDatablock* ogre_material_instance_data::instance_datablock = nullptr

The datablock used for this material instance.

◆ needs_reload

bool ogre_material_instance_data::needs_reload = false

Whether or not this material instance needs to be reloaded.

◆ original_material

ogre_material_info_data* ogre_material_instance_data::original_material = nullptr

Pointer to the original material information.

◆ persistent_reload

bool ogre_material_instance_data::persistent_reload = false

Whether or not to continuously update this material (ie, live editing).

◆ referencing_tag_path

std::string ogre_material_instance_data::referencing_tag_path = ""

The path of the tag that uses this material instance.

◆ tag_instance

material* ogre_material_instance_data::tag_instance = nullptr

Pointer to the tag that uses this material instance.


The documentation for this struct was generated from the following file: