DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
gltexture_t Struct Reference
Collaboration diagram for gltexture_t:

Data Fields

qbool buffermodified
unsigned char * bufferpixels
int bytesperpixel
struct gltexture_s * chain
qbool dirty
int flags
int glformat
int glinternalformat
qbool glisdepthstencil
int gltexturetypeenum
int gltype
char identifier [MAX_QPATH+32]
int inputdatasize
int inputdepth
int inputheight
unsigned char * inputtexels
int inputwidth
int miplevel
int miplevels
int modified_maxs [3]
int modified_mins [3]
const unsigned intpalette
struct gltexturepool_s * pool
int renderbuffernum
int sides
int texnum
int texturetype
textypeinfo_ttextype
int tiledepth
int tileheight
int tilewidth
updatecallback_t updatecallback
voidupdatecallback_data

Detailed Description

Definition at line 178 of file gl_textures.c.

Field Documentation

◆ buffermodified

qbool gltexture_t::buffermodified

Definition at line 196 of file gl_textures.c.

Referenced by R_RealGetTexture(), R_SetupTexture(), and R_UpdateTexture().

◆ bufferpixels

unsigned char* gltexture_t::bufferpixels

Definition at line 194 of file gl_textures.c.

Referenced by R_RealGetTexture(), R_SetupTexture(), and R_UpdateTexture().

◆ bytesperpixel

◆ chain

◆ dirty

◆ flags

◆ glformat

◆ glinternalformat

int gltexture_t::glinternalformat

◆ glisdepthstencil

qbool gltexture_t::glisdepthstencil

Definition at line 185 of file gl_textures.c.

Referenced by R_LoadTextureRenderBuffer(), and R_SetupTexture().

◆ gltexturetypeenum

int gltexture_t::gltexturetypeenum

Definition at line 186 of file gl_textures.c.

Referenced by R_LoadTextureDDSFile(), R_LoadTextureRenderBuffer(), and R_SetupTexture().

◆ gltype

◆ identifier

◆ inputdatasize

int gltexture_t::inputdatasize

◆ inputdepth

◆ inputheight

◆ inputtexels

unsigned char* gltexture_t::inputtexels

Definition at line 208 of file gl_textures.c.

Referenced by R_FreeTexture(), and R_TextureStats_Print().

◆ inputwidth

◆ miplevel

int gltexture_t::miplevel

Definition at line 215 of file gl_textures.c.

Referenced by R_CalcTexelDataSize(), R_LoadTextureRenderBuffer(), and R_SetupTexture().

◆ miplevels

int gltexture_t::miplevels

Definition at line 227 of file gl_textures.c.

Referenced by R_LoadTextureDDSFile(), R_LoadTextureRenderBuffer(), and R_SetupTexture().

◆ modified_maxs

int gltexture_t::modified_maxs[3]

Definition at line 195 of file gl_textures.c.

Referenced by R_RealGetTexture(), R_SetupTexture(), and R_UpdateTexture().

◆ modified_mins

int gltexture_t::modified_mins[3]

Definition at line 195 of file gl_textures.c.

Referenced by R_RealGetTexture(), R_SetupTexture(), and R_UpdateTexture().

◆ palette

const unsigned int* gltexture_t::palette

Definition at line 221 of file gl_textures.c.

Referenced by R_LoadTextureRenderBuffer(), R_SetupTexture(), and R_UploadFullTexture().

◆ pool

struct gltexturepool_s* gltexture_t::pool

◆ renderbuffernum

int gltexture_t::renderbuffernum

Definition at line 183 of file gl_textures.c.

Referenced by R_FreeTexture(), R_LoadTextureRenderBuffer(), and R_TextureStats_Print().

◆ sides

◆ texnum

◆ texturetype

◆ textype

◆ tiledepth

◆ tileheight

◆ tilewidth

◆ updatecallback

updatecallback_t gltexture_t::updatecallback

◆ updatecallback_data

void* gltexture_t::updatecallback_data

Definition at line 190 of file gl_textures.c.

Referenced by R_LoadTextureRenderBuffer(), R_MakeTextureDynamic(), and R_SetupTexture().


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