Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Texture Struct Reference

A Texture entry, holding info about a texture on the GPU. More...

#include <texture.hpp>

Public Types

enum  {
  IMAGE = 0, CUBEMAP = 1, TYPE = 0xFF, STUB = 1 << 8,
  TRANSIENT = 1 << 9, COMPRESSED = 1 << 10, ALPHA = 1 << 11, FLAGS = 0xFF00
}
 

Public Member Functions

 Texture ()
 

Public Attributes

char * name
 
int type
 
int w
 
int h
 
int xs
 
int ys
 
int bpp
 
int clamp
 
bool mipmap
 
bool canreduce
 
GLuint id
 
ucharalphamask
 

Detailed Description

A Texture entry, holding info about a texture on the GPU.

Member Enumeration Documentation

anonymous enum
Enumerator
IMAGE 
CUBEMAP 
TYPE 
STUB 
TRANSIENT 
COMPRESSED 
ALPHA 
FLAGS 

Constructor & Destructor Documentation

Texture::Texture ( )
inline

Member Data Documentation

uchar* Texture::alphamask
int Texture::bpp

Referenced by cubemaploadwildcard(), and newtexture().

bool Texture::canreduce
int Texture::clamp
int Texture::h

Referenced by cubemaploadwildcard(), and newtexture().

GLuint Texture::id
bool Texture::mipmap
char* Texture::name
int Texture::type
int Texture::w

Referenced by cubemaploadwildcard(), and newtexture().

int Texture::xs
int Texture::ys

The documentation for this struct was generated from the following file: