Elaztek Developer Hub
Blamite Game Engine - blam!  00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
materials.cpp File Reference
#include "components/rendering/rendering.h"
#include <OGRE/OgreHlmsManager.h>
#include <OGRE/Hlms/Pbs/OgreHlmsPbs.h>
#include <OGRE/OgreTextureGpuManager.h>
#include <OGRE/Hlms/Pbs/OgreHlmsPbsDatablock.h>
#include <OGRE/OgreTextureFilters.h>
#include <Strings/components/classes/map/map.h>
#include "components/content/tags/classes/bitmap.h"
#include "components/content/tags/classes/material.h"
#include "components/diagnostics/logger/logger.h"
+ Include dependency graph for materials.cpp:

Classes

struct  ogre_material_info_data
 

Functions

Ogre::PbsTextureTypes get_ogre_texture_type_from_material_type (material::pbr_material_entry::textures_entry::texture_type_enum texture_type)
 
Ogre::FilterOptions parse_ogre_bitmap_filter_mode (bitmap_filtering_mode filter_mode)
 
Ogre::FilterOptions parse_ogre_filter_mode (material_filter_modes filter_mode)
 
Ogre::TextureAddressingMode parse_texture_addressing_mode (material_wrap_modes wrap_mode)
 
Ogre::CompareFunction parse_material_comparison_function (material_comparison_function comparison_function)
 
void set_datablock_texture (Ogre::HlmsPbsDatablock *datablock, Ogre::PbsTextureTypes texture_type, tag_reference tagref)
 
bool load_datablock_from_material_tag (Ogre::HlmsPbsDatablock *datablock, material *material_tag)
 

Variables

BlamMap< std::string, ogre_material_info_data * > ogre_material_map = BlamMap<std::string, ogre_material_info_data*>()
 

Function Documentation

◆ get_ogre_texture_type_from_material_type()

Ogre::PbsTextureTypes get_ogre_texture_type_from_material_type ( material::pbr_material_entry::textures_entry::texture_type_enum  texture_type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ load_datablock_from_material_tag()

bool load_datablock_from_material_tag ( Ogre::HlmsPbsDatablock *  datablock,
material material_tag 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parse_material_comparison_function()

Ogre::CompareFunction parse_material_comparison_function ( material_comparison_function  comparison_function)
+ Here is the caller graph for this function:

◆ parse_ogre_bitmap_filter_mode()

Ogre::FilterOptions parse_ogre_bitmap_filter_mode ( bitmap_filtering_mode  filter_mode)
+ Here is the caller graph for this function:

◆ parse_ogre_filter_mode()

Ogre::FilterOptions parse_ogre_filter_mode ( material_filter_modes  filter_mode)
+ Here is the caller graph for this function:

◆ parse_texture_addressing_mode()

Ogre::TextureAddressingMode parse_texture_addressing_mode ( material_wrap_modes  wrap_mode)
+ Here is the caller graph for this function:

◆ set_datablock_texture()

void set_datablock_texture ( Ogre::HlmsPbsDatablock *  datablock,
Ogre::PbsTextureTypes  texture_type,
tag_reference  tagref 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ogre_material_map

BlamMap<std::string, ogre_material_info_data*> ogre_material_map = BlamMap<std::string, ogre_material_info_data*>()