All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RE_TextureCubeMap Class Reference

#include <RE_TextureCubeMap.h>

+ Inheritance diagram for RE_TextureCubeMap:

Public Member Functions

 RE_TextureCubeMap ()
virtual ~RE_TextureCubeMap ()
virtual int64 getMemoryUsage (bool inclusive) const
virtual RE_TextureDimension getMapType ()
virtual RE_TextureMapclone () const
- Public Member Functions inherited from RE_TextureMap
virtual ~RE_TextureMap ()
virtual const char * className () const
bool setSource (const char *mapname, const char *relativeTo)
bool setSource (const char *mapname, const char *relativeTo, RE_Texture *texture, RE_CacheVersion version, bool(*releaseCB)(RE_Texture *, void *), void *releaseObject)
void setSourceModifyCallback (const char *opname, bool(*modifyCallback)(RE_TextureMap *map, TexCBPixelData &pixdata, void *user_data), void *user_data)
void clearStoredTexture ()
void deleteTexRef (RE_Texture *tex)
RE_TextureHolder getTexture (RE_Render *r)
 Access to the texture itself. This method may actually build it. More...
RE_TextureHolder getCachedTexture (RE_Render *r)
 Access to the texture itself, this method will only check the cache. More...
RE_TexturegetUncachedTexture (RE_Render *r)
 Return a texture that is not cached in the GL cache. You own it. More...
bool hasTaggedTexture () const
void setVersion (RE_CacheVersion v)
void bumpVersion ()
RE_CacheVersion getVersion () const
const char * getMapName () const
const char * getRelativePath () const
void reset ()
void clear (const char *clear_name=NULL)
bool isSourceValid ()
void getResolution (int &w, int &h, int &d)
RE_GPUType getFormatType ()
int getFormatSize ()
float getAspectRatio ()
float getAspectRatioXZ ()
RE_TextureFilterfilter ()
const RE_TextureFilterfilter () const
void setColorSpace (PXL_ColorSpace space)
PXL_ColorSpace getColorSpace () const
void sizeTo (int w, int h, int d=1)
void scaleTo (fpreal w, fpreal h=-1.0f, fpreal d=-1.0f)
void maxSize (int w, int h, int d)
void maxMemSize (int mem_limit_mb)
void makePow2 (bool pow2)
void setCompression (RE_TextureCompress comp)
void setMipMap (bool mip)
void setTextureFormatOption (RE_TextureFormatExtra opt)
void setTextureComponent (int texcomp)
void fillRGBFromSingle (bool fill_rgb_mono)
void setOpaqueAlpha (bool opaque_alpha)
bool getOpaqueAlpha () const
void checkAlphaDetails (bool check)
IMG_FileAlphaInfo getAlphaDetails () const

Additional Inherited Members

- Static Public Member Functions inherited from RE_TextureMap
static RE_TextureMapnewTextureMap (RE_TextureDimension type)
static void textureReferenceDeleted (void *, RE_Texture *t)
static void setTextureCacheSize (int64 size_in_mb)
static int64 getTextureCacheSize ()
static int64 getTextureCacheUsage ()
static int64 get2DTextureUsage ()
static int64 get3DTextureUsage ()
static int64 getMipMapUsage ()
static int64 get3DTextureFP32Size ()
static int64 get3DTextureFP16Size ()
static int64 get2DTextureFP32Size ()
static int64 get2DTextureFP16Size ()
static int64 getOrig3DTextureFP32Size ()
static int64 getOrig3DTextureFP16Size ()
static int64 getOrig2DTextureFP32Size ()
static int64 getOrig2DTextureFP16Size ()
static void pruneTextureCache ()
static void clearTextureCache ()
static void debugDumpCache ()
static void recordTextureMapUsage (bool enable)
static bool recordingTextureUsage ()
static void textureUsed (RE_Texture *tex)
static void textureDeleted (RE_Texture *tex)
static int getNumUsedTextureMaps ()
static int64 getUsedTextureMemory ()
- Protected Member Functions inherited from RE_TextureMap
 RE_TextureMap ()
virtual void buildSourceName (UT_String &cachedname, const char *map, const char *rel)
re_AutoTextureSource getTextureSource (const char *map, const char *relto, void **tex_data)
void getDesiredResolution (RE_GPUType type, int vsize, int *w, int *h, int *d)
virtual void cachedTextureFound (RE_Texture *tex)
voidcallModifyCallback (RE_Texture *tex, void *data)
bool isNodeSource ()
RE_TextureCompress getCompression () const
bool getMipMap () const
RE_TexturegetTextureStub ()
void copy (const RE_TextureMap *src)
RE_TextureFormatExtra getTextureFormatOption () const
void setupGammaCorrect (IMG_FileParms &parms, const char *filename, RE_GPUType datatype)
RE_TextureHolder fetchTexture (RE_Render *r, bool build_if_missing)
- Protected Attributes inherited from RE_TextureMap
RE_TextureCompress myCompression
fpreal myScale [3]
int myRes [3]
int myMaxRes [3]
int myMaxMemMB
int myMipMap
bool myMakePow2
UT_String myMapName
bool myAlphaDetails
IMG_FileAlphaInfo myAlphaInfo

Detailed Description

Definition at line 22 of file RE_TextureCubeMap.h.

Constructor & Destructor Documentation

RE_TextureCubeMap::RE_TextureCubeMap ( )
virtual RE_TextureCubeMap::~RE_TextureCubeMap ( )

Member Function Documentation

virtual RE_TextureMap* RE_TextureCubeMap::clone ( ) const

Implements RE_TextureMap.

virtual RE_TextureDimension RE_TextureCubeMap::getMapType ( )

Implements RE_TextureMap.

Definition at line 32 of file RE_TextureCubeMap.h.

virtual int64 RE_TextureCubeMap::getMemoryUsage ( bool  inclusive) const

Returns the amount of main memory (NOT graphics memory!) owned by this RE_TextureCubeMap.

Reimplemented from RE_TextureMap.

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