doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
idImageManager Class Reference

#include <Image.h>

Public Member Functions

void Init ()
 
void Shutdown ()
 
idImageImageFromFile (const char *name, textureFilter_t filter, bool allowDownSize, textureRepeat_t repeat, textureDepth_t depth, cubeFiles_t cubeMap=CF_2D)
 
idImageGetImage (const char *name) const
 
idImageImageFromFunction (const char *name, void(*generatorFunction)(idImage *image))
 
void CompleteBackgroundImageLoads ()
 
int SumOfUsedImages ()
 
void CheckCvars ()
 
void PurgeAllImages ()
 
void ReloadAllImages ()
 
void BindNull ()
 
void BeginLevelLoad ()
 
void EndLevelLoad ()
 
void StartBuild ()
 
void FinishBuild (bool removeDups=false)
 
void AddDDSCommand (const char *cmd)
 
void PrintMemInfo (MemInfo_t *mi)
 
idImageAllocImage (const char *name)
 
void SetNormalPalette ()
 
void ChangeTextureFilter ()
 

Public Attributes

idImagedefaultImage
 
idImageflatNormalMap
 
idImageambientNormalMap
 
idImagerampImage
 
idImagealphaRampImage
 
idImagealphaNotchImage
 
idImagewhiteImage
 
idImageblackImage
 
idImagenormalCubeMapImage
 
idImagenoFalloffImage
 
idImagefogImage
 
idImagefogEnterImage
 
idImagecinematicImage
 
idImagescratchImage
 
idImagescratchImage2
 
idImageaccumImage
 
idImagecurrentRenderImage
 
idImagescratchCubeMapImage
 
idImagespecularTableImage
 
idImagespecular2DTableImage
 
idImageborderClampImage
 
idList< idImage * > images
 
idStrList ddsList
 
idHashIndex ddsHash
 
bool insideLevelLoad
 
byte originalToCompressed [256]
 
byte compressedPalette [768]
 
GLenum textureMinFilter
 
GLenum textureMaxFilter
 
float textureAnisotropy
 
float textureLODBias
 
idImageimageHashTable [FILE_HASH_SIZE]
 
idImagebackgroundImageLoads
 
idImage cacheLRU
 
int totalCachedImageSize
 
int numActiveBackgroundImageLoads
 

Static Public Attributes

static idCVar image_roundDown
 
static idCVar image_colorMipLevels
 
static idCVar image_downSize
 
static idCVar image_useCompression
 
static idCVar image_filter
 
static idCVar image_anisotropy
 
static idCVar image_lodbias
 
static idCVar image_useAllFormats
 
static idCVar image_usePrecompressedTextures
 
static idCVar image_writePrecompressedTextures
 
static idCVar image_writeNormalTGA
 
static idCVar image_writeNormalTGAPalletized
 
static idCVar image_writeTGA
 
static idCVar image_useNormalCompression
 
static idCVar image_useOffLineCompression
 
static idCVar image_preload
 
static idCVar image_cacheMinK
 
static idCVar image_cacheMegs
 
static idCVar image_useCache
 
static idCVar image_showBackgroundLoads
 
static idCVar image_forceDownSize
 
static idCVar image_downSizeSpecular
 
static idCVar image_downSizeSpecularLimit
 
static idCVar image_downSizeBump
 
static idCVar image_downSizeBumpLimit
 
static idCVar image_ignoreHighQuality
 
static idCVar image_downSizeLimit
 
static const int MAX_BACKGROUND_IMAGE_LOADS = 8
 

Detailed Description

Definition at line 299 of file Image.h.

Member Function Documentation

void idImageManager::AddDDSCommand ( const char *  cmd)

Definition at line 2152 of file Image_init.cpp.

idImage * idImageManager::AllocImage ( const char *  name)

Definition at line 1404 of file Image_init.cpp.

void idImageManager::BeginLevelLoad ( )

Definition at line 2005 of file Image_init.cpp.

void idImageManager::BindNull ( )

Definition at line 1918 of file Image_init.cpp.

void idImageManager::ChangeTextureFilter ( void  )

Definition at line 928 of file Image_init.cpp.

void idImageManager::CheckCvars ( )

Definition at line 1882 of file Image_init.cpp.

void idImageManager::CompleteBackgroundImageLoads ( )

Definition at line 1846 of file Image_init.cpp.

void idImageManager::EndLevelLoad ( )

Definition at line 2038 of file Image_init.cpp.

void idImageManager::FinishBuild ( bool  removeDups = false)

Definition at line 2110 of file Image_init.cpp.

idImage * idImageManager::GetImage ( const char *  name) const

Definition at line 1628 of file Image_init.cpp.

idImage * idImageManager::ImageFromFile ( const char *  name,
textureFilter_t  filter,
bool  allowDownSize,
textureRepeat_t  repeat,
textureDepth_t  depth,
cubeFiles_t  cubeMap = CF_2D 
)

Definition at line 1481 of file Image_init.cpp.

idImage * idImageManager::ImageFromFunction ( const char *  name,
void(*)(idImage *image generatorFunction 
)

Definition at line 1434 of file Image_init.cpp.

void idImageManager::Init ( void  )

Definition at line 1939 of file Image_init.cpp.

void idImageManager::PrintMemInfo ( MemInfo_t mi)

Definition at line 2176 of file Image_init.cpp.

void idImageManager::PurgeAllImages ( )

Definition at line 1661 of file Image_init.cpp.

void idImageManager::ReloadAllImages ( )

Definition at line 1676 of file Image_init.cpp.

void idImageManager::SetNormalPalette ( void  )

Definition at line 1300 of file Image_init.cpp.

void idImageManager::Shutdown ( void  )

Definition at line 1991 of file Image_init.cpp.

void idImageManager::StartBuild ( )

Definition at line 2100 of file Image_init.cpp.

int idImageManager::SumOfUsedImages ( )

Definition at line 1897 of file Image_init.cpp.

Member Data Documentation

idImage* idImageManager::accumImage

Definition at line 407 of file Image.h.

idImage* idImageManager::alphaNotchImage

Definition at line 397 of file Image.h.

idImage* idImageManager::alphaRampImage

Definition at line 396 of file Image.h.

idImage* idImageManager::ambientNormalMap

Definition at line 394 of file Image.h.

idImage* idImageManager::backgroundImageLoads

Definition at line 437 of file Image.h.

idImage* idImageManager::blackImage

Definition at line 399 of file Image.h.

idImage* idImageManager::borderClampImage

Definition at line 412 of file Image.h.

idImage idImageManager::cacheLRU

Definition at line 438 of file Image.h.

idImage* idImageManager::cinematicImage

Definition at line 404 of file Image.h.

byte idImageManager::compressedPalette[768]

Definition at line 427 of file Image.h.

idImage* idImageManager::currentRenderImage

Definition at line 408 of file Image.h.

idHashIndex idImageManager::ddsHash

Definition at line 422 of file Image.h.

idStrList idImageManager::ddsList

Definition at line 421 of file Image.h.

idImage* idImageManager::defaultImage

Definition at line 392 of file Image.h.

idImage* idImageManager::flatNormalMap

Definition at line 393 of file Image.h.

idImage* idImageManager::fogEnterImage

Definition at line 403 of file Image.h.

idImage* idImageManager::fogImage

Definition at line 402 of file Image.h.

idCVar idImageManager::image_anisotropy
static

Definition at line 367 of file Image.h.

idCVar idImageManager::image_cacheMegs
static

Definition at line 380 of file Image.h.

idCVar idImageManager::image_cacheMinK
static

Definition at line 378 of file Image.h.

idCVar idImageManager::image_colorMipLevels
static

Definition at line 363 of file Image.h.

idCVar idImageManager::image_downSize
static

Definition at line 364 of file Image.h.

idCVar idImageManager::image_downSizeBump
static

Definition at line 386 of file Image.h.

idCVar idImageManager::image_downSizeBumpLimit
static

Definition at line 387 of file Image.h.

idCVar idImageManager::image_downSizeLimit
static

Definition at line 389 of file Image.h.

idCVar idImageManager::image_downSizeSpecular
static

Definition at line 384 of file Image.h.

idCVar idImageManager::image_downSizeSpecularLimit
static

Definition at line 385 of file Image.h.

idCVar idImageManager::image_filter
static

Definition at line 366 of file Image.h.

idCVar idImageManager::image_forceDownSize
static

Definition at line 383 of file Image.h.

idCVar idImageManager::image_ignoreHighQuality
static

Definition at line 388 of file Image.h.

idCVar idImageManager::image_lodbias
static

Definition at line 368 of file Image.h.

idCVar idImageManager::image_preload
static

Definition at line 377 of file Image.h.

idCVar idImageManager::image_roundDown
static

Definition at line 362 of file Image.h.

idCVar idImageManager::image_showBackgroundLoads
static

Definition at line 382 of file Image.h.

idCVar idImageManager::image_useAllFormats
static

Definition at line 369 of file Image.h.

idCVar idImageManager::image_useCache
static

Definition at line 381 of file Image.h.

idCVar idImageManager::image_useCompression
static

Definition at line 365 of file Image.h.

idCVar idImageManager::image_useNormalCompression
static

Definition at line 375 of file Image.h.

idCVar idImageManager::image_useOffLineCompression
static

Definition at line 376 of file Image.h.

idCVar idImageManager::image_usePrecompressedTextures
static

Definition at line 370 of file Image.h.

idCVar idImageManager::image_writeNormalTGA
static

Definition at line 372 of file Image.h.

idCVar idImageManager::image_writeNormalTGAPalletized
static

Definition at line 373 of file Image.h.

idCVar idImageManager::image_writePrecompressedTextures
static

Definition at line 371 of file Image.h.

idCVar idImageManager::image_writeTGA
static

Definition at line 374 of file Image.h.

idImage* idImageManager::imageHashTable[FILE_HASH_SIZE]

Definition at line 435 of file Image.h.

idList<idImage*> idImageManager::images

Definition at line 420 of file Image.h.

bool idImageManager::insideLevelLoad

Definition at line 424 of file Image.h.

const int idImageManager::MAX_BACKGROUND_IMAGE_LOADS = 8
static

Definition at line 442 of file Image.h.

idImage* idImageManager::noFalloffImage

Definition at line 401 of file Image.h.

idImage* idImageManager::normalCubeMapImage

Definition at line 400 of file Image.h.

int idImageManager::numActiveBackgroundImageLoads

Definition at line 441 of file Image.h.

byte idImageManager::originalToCompressed[256]

Definition at line 426 of file Image.h.

idImage* idImageManager::rampImage

Definition at line 395 of file Image.h.

idImage* idImageManager::scratchCubeMapImage

Definition at line 409 of file Image.h.

idImage* idImageManager::scratchImage

Definition at line 405 of file Image.h.

idImage* idImageManager::scratchImage2

Definition at line 406 of file Image.h.

idImage* idImageManager::specular2DTableImage

Definition at line 411 of file Image.h.

idImage* idImageManager::specularTableImage

Definition at line 410 of file Image.h.

float idImageManager::textureAnisotropy

Definition at line 432 of file Image.h.

float idImageManager::textureLODBias

Definition at line 433 of file Image.h.

GLenum idImageManager::textureMaxFilter

Definition at line 431 of file Image.h.

GLenum idImageManager::textureMinFilter

Definition at line 430 of file Image.h.

int idImageManager::totalCachedImageSize

Definition at line 439 of file Image.h.

idImage* idImageManager::whiteImage

Definition at line 398 of file Image.h.


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