GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Static Private Attributes
radix::ShaderLoader Class Reference

#include <external/RadixEngine/include/radix/data/shader/ShaderLoader.hpp>

Static Public Member Functions

static ShadergetShader (const std::string &fragpath, const std::string &vertpath="")
 
static unsigned int loadShader (const std::string &path, Shader::Type type)
 

Static Private Attributes

static std::map< std::pair
< std::string, std::string >
, Shader
shaderCache
 

Member Function Documentation

Shader & radix::ShaderLoader::getShader ( const std::string &  fragpath,
const std::string &  vertpath = "" 
)
static
unsigned int radix::ShaderLoader::loadShader ( const std::string &  path,
Shader::Type  type 
)
static

Field Documentation

std::map< std::pair< std::string, std::string >, Shader > radix::ShaderLoader::shaderCache
staticprivate

The documentation for this class was generated from the following files: