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 Member Functions | Static Private Attributes
radix::TextureLoader Class Reference

#include <external/RadixEngine/include/radix/data/texture/TextureLoader.hpp>

Static Public Member Functions

static Texture getEmptyTexture (const std::string &name, const char *pixel="\xFF\xFF\xFF")
 
static Texture getEmptyDiffuse ()
 
static Texture getEmptyNormal ()
 
static Texture getEmptySpecular ()
 
static Texture getTexture (const std::string &path)
 
static std::map< std::string,
Texture > & 
getTextureCache ()
 

Static Private Member Functions

static Texture uploadTexture (const unsigned char *data, int width, int height)
 

Static Private Attributes

static std::map< std::string,
Texture
textureCache = {}
 

Member Function Documentation

Texture radix::TextureLoader::getEmptyDiffuse ( )
static
Texture radix::TextureLoader::getEmptyNormal ( )
static
Texture radix::TextureLoader::getEmptySpecular ( )
static
Texture radix::TextureLoader::getEmptyTexture ( const std::string &  name,
const char *  pixel = "\xFF\xFF\xFF" 
)
static
Texture radix::TextureLoader::getTexture ( const std::string &  path)
static
static std::map<std::string, Texture>& radix::TextureLoader::getTextureCache ( )
inlinestatic
Texture radix::TextureLoader::uploadTexture ( const unsigned char *  data,
int  width,
int  height 
)
staticprivate

Field Documentation

std::map< std::string, Texture > radix::TextureLoader::textureCache = {}
staticprivate

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