Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Static Public Member Functions | List of all members
LxS::CoreGraphics::TextureSet Class Reference

class works as a frontend to global texture manager More...

#include <textureset.hpp>

Collaboration diagram for LxS::CoreGraphics::TextureSet:
Collaboration graph

Public Member Functions

void SetTexMagFilter (GLint mf)
 
void SetTexMinFilter (GLint mf)
 
void LoadTextures (const char **FileName, int count)
 load set of textures immediately
 
GLuint GetHandle (int i)
 return opengl handle of ith texture
 
int GetCount ()
 count of textures held by objects
 
void FreeTextures ()
 free up GPU resources
 
unsigned long GetTexelsCount ()
 how many texels are there within this texture set (all textures added together)
 

Static Public Member Functions

static void ReloadAllTextures ()
 used to implement android run states and moving between OpenGL contexts
 
static void MarkNecessityToReload ()
 after losing context, graphics glitches etc
 
static void PrintGlobalStatus ()
 prints infodump on all textures to a console
 

Detailed Description

class works as a frontend to global texture manager

Member Function Documentation

void LxS::CoreGraphics::TextureSet::SetTexMagFilter ( GLint  mf)
inline

only before init; correct values: GL_LINEAR, GL_NEAREST, GL_LINEAR_MIPMAP_LINEAR

void LxS::CoreGraphics::TextureSet::SetTexMinFilter ( GLint  mf)
inline

only before init; correct values: GL_LINEAR, GL_NEAREST, GL_LINEAR_MIPMAP_LINEAR


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