Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::render::TextureSource Struct Reference

List of all members.

Public Types

enum  source { EMPTY, IMAGE, FILE, FILES }

Public Member Functions

 TextureSource ()
 texture from file
 TextureSource (std::string f[6])
 cube map texture from files
 TextureSource (const int &w, const int &h)
 empty texture
 TextureSource (Image *)
 texture from pre-loaded Image

Public Attributes

std::string files [6]
int height
Imageimage
source src
int width

Member Enumeration Documentation

enum ONE::render::TextureSource::source
 

Enumerator:
EMPTY 
IMAGE 
FILE 
FILES 


Constructor & Destructor Documentation

ONE::render::TextureSource::TextureSource Image  ) 
 

texture from pre-loaded Image

ONE::render::TextureSource::TextureSource const int &  w,
const int &  h
 

empty texture

ONE::render::TextureSource::TextureSource std::string  f[6]  ) 
 

cube map texture from files

ONE::render::TextureSource::TextureSource  ) 
 

texture from file

The texture name is used as the file name.


Member Data Documentation

std::string ONE::render::TextureSource::files[6]
 

int ONE::render::TextureSource::height
 

Image* ONE::render::TextureSource::image
 

source ONE::render::TextureSource::src
 

int ONE::render::TextureSource::width
 


Generated on Wed Sep 7 19:03:27 2005 for ONEngine by  doxygen 1.4.3