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

#include <MegaTexture.h>

Public Member Functions

bool InitFromMegaFile (const char *fileBase)
 
void SetMappingForSurface (const srfTriangles_t *tri)
 
void BindForViewOrigin (const idVec3 origin)
 
void Unbind ()
 

Static Public Member Functions

static void MakeMegaTexture_f (const idCmdArgs &args)
 

Private Member Functions

void SetViewOrigin (const idVec3 origin)
 

Static Private Member Functions

static void GenerateMegaMipMaps (megaTextureHeader_t *header, idFile *file)
 
static void GenerateMegaPreview (const char *fileName)
 

Private Attributes

idFilefileHandle
 
const srfTriangles_tcurrentTriMapping
 
idVec3 currentViewOrigin
 
float localViewToTextureCenter [2][4]
 
int numLevels
 
idTextureLevel levels [MAX_LEVELS]
 
megaTextureHeader_t header
 

Static Private Attributes

static idCVar r_megaTextureLevel
 
static idCVar r_showMegaTexture
 
static idCVar r_showMegaTextureLabels
 
static idCVar r_skipMegaTexture
 
static idCVar r_terrainScale
 

Friends

class idTextureLevel
 

Detailed Description

Definition at line 67 of file MegaTexture.h.

Member Function Documentation

void idMegaTexture::BindForViewOrigin ( const idVec3  origin)

Definition at line 222 of file MegaTexture.cpp.

void idMegaTexture::GenerateMegaMipMaps ( megaTextureHeader_t header,
idFile file 
)
staticprivate

Definition at line 502 of file MegaTexture.cpp.

void idMegaTexture::GenerateMegaPreview ( const char *  fileName)
staticprivate

Definition at line 584 of file MegaTexture.cpp.

bool idMegaTexture::InitFromMegaFile ( const char *  fileBase)

Definition at line 87 of file MegaTexture.cpp.

void idMegaTexture::MakeMegaTexture_f ( const idCmdArgs args)
static

Definition at line 653 of file MegaTexture.cpp.

void idMegaTexture::SetMappingForSurface ( const srfTriangles_t tri)

Definition at line 165 of file MegaTexture.cpp.

void idMegaTexture::SetViewOrigin ( const idVec3  origin)
private

Definition at line 290 of file MegaTexture.cpp.

void idMegaTexture::Unbind ( void  )

Definition at line 277 of file MegaTexture.cpp.

Friends And Related Function Documentation

friend class idTextureLevel
friend

Definition at line 76 of file MegaTexture.h.

Member Data Documentation

const srfTriangles_t* idMegaTexture::currentTriMapping
private

Definition at line 83 of file MegaTexture.h.

idVec3 idMegaTexture::currentViewOrigin
private

Definition at line 85 of file MegaTexture.h.

idFile* idMegaTexture::fileHandle
private

Definition at line 81 of file MegaTexture.h.

megaTextureHeader_t idMegaTexture::header
private

Definition at line 91 of file MegaTexture.h.

idTextureLevel idMegaTexture::levels[MAX_LEVELS]
private

Definition at line 90 of file MegaTexture.h.

float idMegaTexture::localViewToTextureCenter[2][4]
private

Definition at line 87 of file MegaTexture.h.

int idMegaTexture::numLevels
private

Definition at line 89 of file MegaTexture.h.

idCVar idMegaTexture::r_megaTextureLevel
staticprivate

Definition at line 93 of file MegaTexture.h.

idCVar idMegaTexture::r_showMegaTexture
staticprivate

Definition at line 94 of file MegaTexture.h.

idCVar idMegaTexture::r_showMegaTextureLabels
staticprivate

Definition at line 95 of file MegaTexture.h.

idCVar idMegaTexture::r_skipMegaTexture
staticprivate

Definition at line 96 of file MegaTexture.h.

idCVar idMegaTexture::r_terrainScale
staticprivate

Definition at line 97 of file MegaTexture.h.


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