Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
shaders_raw.cpp File Reference
#include "components/rendering/rendering.h"
#include <OGRE/OgreRoot.h>
#include <OGRE/OgreHlmsManager.h>
#include <OGRE/OgreHlmsLowLevel.h>
#include <OGRE/OgreHlmsLowLevelDatablock.h>
#include <OGRE/OgreHighLevelGpuProgramManager.h>
#include <OGRE/OgreHighLevelGpuProgram.h>
#include <OGRE/OgreTechnique.h>
#include <OGRE/OgrePass.h>
#include <OGRE/OgreMaterialManager.h>
#include <OGRE/RenderSystems/GL3Plus/GLSL/OgreGLSLShader.h>
#include <Strings/components/utils/uuid/uuid.h>
#include "api/v1/types/tags/classes/shader.h"
#include "api/v1/types/tags/classes/shader_program.h"
#include "components/diagnostics/logger/logger.h"
+ Include dependency graph for shaders_raw.cpp:

Functions

Ogre::HighLevelGpuProgramPtr load_shader_program (std::string tag_path, Ogre::GpuProgramType type, Ogre::Pass *pass, std::string syntax_code, std::string entry_point, std::string target, std::string program_source)
 
Ogre::HighLevelGpuProgramPtr load_shader_program (std::string tag_path, shader_program *entry, Ogre::GpuProgramType type, Ogre::Pass *pass)
 
Ogre::HighLevelGpuProgramPtr load_shader_program (std::string tag_path, shader::programs_entry *entry, Ogre::GpuProgramType type, Ogre::Pass *pass)
 
void destroy_shader_material (Ogre::MaterialPtr material, std::string tag_path)
 
shader::programs_entry * find_embedded_program (shader *shader, shader::programs_entry::type_enum type)
 

Variables

std::map< std::string, Ogre::MaterialPtr > raw_shader_datablocks = std::map<std::string, Ogre::MaterialPtr>()
 

Function Documentation

◆ destroy_shader_material()

void destroy_shader_material ( Ogre::MaterialPtr  material,
std::string  tag_path 
)
+ Here is the caller graph for this function:

◆ find_embedded_program()

shader::programs_entry* find_embedded_program ( shader shader,
shader::programs_entry::type_enum  type 
)
+ Here is the caller graph for this function:

◆ load_shader_program() [1/3]

Ogre::HighLevelGpuProgramPtr load_shader_program ( std::string  tag_path,
Ogre::GpuProgramType  type,
Ogre::Pass *  pass,
std::string  syntax_code,
std::string  entry_point,
std::string  target,
std::string  program_source 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ load_shader_program() [2/3]

Ogre::HighLevelGpuProgramPtr load_shader_program ( std::string  tag_path,
shader::programs_entry *  entry,
Ogre::GpuProgramType  type,
Ogre::Pass *  pass 
)
+ Here is the call graph for this function:

◆ load_shader_program() [3/3]

Ogre::HighLevelGpuProgramPtr load_shader_program ( std::string  tag_path,
shader_program entry,
Ogre::GpuProgramType  type,
Ogre::Pass *  pass 
)
+ Here is the call graph for this function:

Variable Documentation

◆ raw_shader_datablocks

std::map<std::string, Ogre::MaterialPtr> raw_shader_datablocks = std::map<std::string, Ogre::MaterialPtr>()