Cafu Engine
TextureMap2DT Class Reference

This class represents a 2D texture-map. More...

#include "TextureMapImpl.hpp"

Inheritance diagram for TextureMap2DT:

Public Member Functions

unsigned int GetSizeX ()
 
unsigned int GetSizeY ()
 
bool IsCreatedFromMapComp (const MapCompositionT &MC_)
 Returns true if this texture was created from a map composition that was "equivalent" to MC_. More...
 
GLuint GetOpenGLObject ()
 This function returns an OpenGL object for this texture. More...
 
 TextureMap2DT (const MapCompositionT &MapComp_)
 
 TextureMap2DT (char *Data_, unsigned long SizeX_, unsigned long SizeY_, char BytesPerPixel_, bool MakePrivateCopy, const MapCompositionT &McForFiltersAndWrapping)
 
 TextureMap2DT (BitmapT *Bitmap_, bool MakePrivateCopy, const MapCompositionT &McForFiltersAndWrapping)
 
- Public Member Functions inherited from TextureMapImplT
virtual ~TextureMapImplT ()
 Virtual destructor. More...
 

Detailed Description

This class represents a 2D texture-map.

Member Function Documentation

GLuint TextureMap2DT::GetOpenGLObject ( )
virtual

This function returns an OpenGL object for this texture.

Implements TextureMapImplT.

bool TextureMap2DT::IsCreatedFromMapComp ( const MapCompositionT MC_)
virtual

Returns true if this texture was created from a map composition that was "equivalent" to MC_.

Implements TextureMapImplT.


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