Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
Blam::Rendering::Shaders Namespace Reference

Functions

BLAM void FillInstanceParameterBuffer (float *address, BlamWorldObject_Tag *object, shader *program)
 
BLAM uint16_t CalculateInstanceBufferElementCount (shader *program)
 
BLAM void LoadShader (shader *program, std::string tag_path)
 
BLAM Ogre::HlmsDatablock * GetShaderDatablock (std::string tag_path)
 
BLAM Ogre::MaterialPtr GetRawShaderMaterial (std::string tag_path)
 
BLAM Ogre::MaterialPtr LoadRawShader (shader *shader, std::string tag_path)
 
BLAM Ogre::GpuProgramParametersSharedPtr GetShaderParameters (std::string tag_path, Ogre::GpuProgramType shader_type)
 

Function Documentation

◆ CalculateInstanceBufferElementCount()

uint16_t Blam::Rendering::Shaders::CalculateInstanceBufferElementCount ( shader program)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FillInstanceParameterBuffer()

void Blam::Rendering::Shaders::FillInstanceParameterBuffer ( float *  address,
BlamWorldObject_Tag object,
shader program 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRawShaderMaterial()

Ogre::MaterialPtr Blam::Rendering::Shaders::GetRawShaderMaterial ( std::string  tag_path)
+ Here is the caller graph for this function:

◆ GetShaderDatablock()

Ogre::HlmsDatablock * Blam::Rendering::Shaders::GetShaderDatablock ( std::string  tag_path)

◆ GetShaderParameters()

Ogre::GpuProgramParametersSharedPtr Blam::Rendering::Shaders::GetShaderParameters ( std::string  tag_path,
Ogre::GpuProgramType  shader_type 
)
+ Here is the call graph for this function:

◆ LoadRawShader()

Ogre::MaterialPtr Blam::Rendering::Shaders::LoadRawShader ( shader shader,
std::string  tag_path 
)
Todo:
drive auto params from tags
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadShader()

void Blam::Rendering::Shaders::LoadShader ( shader program,
std::string  tag_path 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: