Namespaces | Functions
ogre_material_generator.cpp File Reference
#include <rve_render_server/ogre_material_generator.h>
#include <rve_render_server/material.h>
#include <rve_render_server/texture.h>
#include <rve_render_server/render_target.h>
#include <rve_render_server/render_texture.h>
#include <rve_render_server/renderer.h>
#include <rve_render_server/texture_resource.h>
#include <rve_msgs/Material.h>
#include <rve_common/parse_resource_uri.h>
#include <resource_retriever/retriever.h>
#include <boost/filesystem.hpp>
#include <sstream>
#include <OGRE/OgreMaterialManager.h>
#include <OGRE/OgreTextureManager.h>
#include <OGRE/OgreTexture.h>
#include <OGRE/OgreGpuProgramManager.h>
#include <OGRE/OgreHighLevelGpuProgramManager.h>
#include <OGRE/OgreTechnique.h>
#include <OGRE/OgrePass.h>
Include dependency graph for ogre_material_generator.cpp:

Go to the source code of this file.

Namespaces

namespace  rve_render_server

Functions

void rve_render_server::applyUniforms (const Ogre::HighLevelGpuProgramPtr &program, const V_ShaderUniform &uniforms)
static void rve_render_server::emitIncludes (std::stringstream &ss, const V_string &includes)
static void rve_render_server::emitInputs (std::stringstream &ss, const V_ShaderParameter &inputs, bool &first_parameter, bool geom_shader)
static void rve_render_server::emitOutputs (std::stringstream &ss, const V_ShaderParameter &outputs, bool &first_parameter)
static void rve_render_server::emitSamplers (std::stringstream &ss, const V_ShaderSampler &samplers, bool &first_parameter)
static void rve_render_server::emitUniforms (std::stringstream &ss, const V_ShaderUniform &uniforms, bool &first_parameter)
void rve_render_server::fillFragmentShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def)
void rve_render_server::fillPickingFragmentShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def)
void rve_render_server::fillVertexShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def)
Ogre::GpuProgramPtr rve_render_server::generateFragmentShader (const ShaderDefinition &in_def, bool transparent, bool shaded, const std::string &base_name)
Ogre::GpuProgramPtr rve_render_server::generateGeometryShader (const ShaderDefinition &def, const std::string &base_name)
Ogre::MaterialPtr rve_render_server::generateOgreMaterial (const rve_msgs::Material &mat)
Ogre::MaterialPtr rve_render_server::generateOgreMaterial (const MaterialDefinition &def)
Ogre::GpuProgramPtr rve_render_server::generatePickingFragmentShader (const ShaderDefinition &in_def, const std::string &base_name)
Ogre::GpuProgramPtr rve_render_server::generateVertexShader (const ShaderDefinition &def, const std::string &base_name)
void rve_render_server::loadTexture (const std::string &resource_path)
std::string rve_render_server::materialToStringID (const rve_msgs::Material &input_mat)
static std::string rve_render_server::toString (uint32_t i)


rve_render_server
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:15