Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

shader_s Struct Reference

#include <tr_local.h>

Collaboration diagram for shader_s:

Collaboration graph
[legend]

Data Fields

float clampTime
int contentFlags
cullType_t cullType
shader_scurrentShader
int currentState
qboolean defaultShader
deformStage_t deforms [MAX_SHADER_DEFORMS]
qboolean entityMergable
long expireTime
qboolean explicitlyDefined
fogParms_t fogParms
fogPass_t fogPass
int index
qboolean isSky
int lightmapIndex
int multitextureEnv
char name [MAX_QPATH]
qboolean needsColor
qboolean needsNormal
qboolean needsST1
qboolean needsST2
shader_snext
qboolean noMipMaps
qboolean noPicMip
int numDeforms
int numStates
int numUnfoggedPasses
void(* optimalStageIteratorFunc )(void)
shader_sparentShader
qboolean polygonOffset
float portalRange
shader_sremappedShader
int shaderStates [MAX_STATES_PER_SHADER]
skyParms_t sky
float sort
int sortedIndex
shaderStage_tstages [MAX_SHADER_STAGES]
int surfaceFlags
float timeOffset

Field Documentation

float clampTime
 

Definition at line 403 of file tr_local.h.

Referenced by ParseShader(), and RB_BeginSurface().

int contentFlags
 

Definition at line 371 of file tr_local.h.

Referenced by GeneratePermanentShader(), ParseShader(), ParseSurfaceParm(), and R_BoxSurfaces_r().

cullType_t cullType
 

Definition at line 383 of file tr_local.h.

Referenced by ParseShader(), R_CullSurface(), RB_StageIteratorGeneric(), RB_StageIteratorLightmappedMultitexture(), and RB_StageIteratorVertexLitTexture().

struct shader_s* currentShader
 

Definition at line 407 of file tr_local.h.

int currentState
 

Definition at line 409 of file tr_local.h.

qboolean defaultShader
 

Definition at line 362 of file tr_local.h.

Referenced by R_AddMD3Surfaces(), R_FindShader(), R_LoadMD3(), R_LoadMD4(), R_ShaderList_f(), RE_RegisterShader(), RE_RegisterShaderFromImage(), RE_RegisterShaderLightMap(), RE_RegisterShaderNoMip(), and ShaderForShaderNum().

deformStage_t deforms[MAX_SHADER_DEFORMS]
 

Definition at line 396 of file tr_local.h.

Referenced by ParseDeform(), and RB_DeformTessGeometry().

qboolean entityMergable
 

Definition at line 373 of file tr_local.h.

Referenced by ParseShader(), and RB_RenderDrawSurfList().

long expireTime
 

Definition at line 410 of file tr_local.h.

qboolean explicitlyDefined
 

Definition at line 368 of file tr_local.h.

Referenced by ParseShader(), and R_ShaderList_f().

fogParms_t fogParms
 

Definition at line 377 of file tr_local.h.

Referenced by ParseShader(), and R_LoadFogs().

fogPass_t fogPass
 

Definition at line 388 of file tr_local.h.

Referenced by GeneratePermanentShader(), RB_FogPass(), RB_StageIteratorGeneric(), RB_StageIteratorLightmappedMultitexture(), and RB_StageIteratorVertexLitTexture().

int index
 

Definition at line 357 of file tr_local.h.

Referenced by GeneratePermanentShader(), R_LoadMD3(), R_LoadMD4(), RE_RegisterShader(), RE_RegisterShaderFromImage(), RE_RegisterShaderLightMap(), and RE_RegisterShaderNoMip().

qboolean isSky
 

Definition at line 375 of file tr_local.h.

Referenced by ComputeStageIteratorFunc(), FinishShader(), ParseFace(), ParseFlare(), ParseMesh(), ParseShader(), ParseSkyParms(), ParseTriSurf(), and R_BuildCloudData().

int lightmapIndex
 

Definition at line 355 of file tr_local.h.

Referenced by CreateInternalShaders(), FinishShader(), ParseStage(), R_FindShader(), R_ShaderList_f(), RE_RegisterShaderFromImage(), and VertexLightingCollapse().

int multitextureEnv
 

Definition at line 381 of file tr_local.h.

Referenced by CollapseMultitexture(), ComputeStageIteratorFunc(), DrawMultitextured(), R_ShaderList_f(), and RB_StageIteratorGeneric().

char name[MAX_QPATH]
 

Definition at line 354 of file tr_local.h.

Referenced by Autosprite2Deform(), AutospriteDeform(), ComputeTexCoords(), CreateInternalShaders(), FinishShader(), GeneratePermanentShader(), NameToAFunc(), NameToDstBlendMode(), NameToGenFunc(), NameToSrcBlendMode(), ParseDeform(), ParseShader(), ParseSkyParms(), ParseSort(), ParseStage(), ParseTexMod(), ParseVector(), ParseWaveForm(), R_AddMD3Surfaces(), R_FindShader(), R_FindShaderByName(), R_RemapShader(), R_ShaderList_f(), R_SkinList_f(), R_SortDrawSurfs(), RB_StageIteratorGeneric(), RB_StageIteratorLightmappedMultitexture(), RB_StageIteratorVertexLitTexture(), RE_RegisterShaderFromImage(), and TableForFunc().

qboolean needsColor
 

Definition at line 393 of file tr_local.h.

Referenced by R_FindShader(), and RE_RegisterShaderFromImage().

qboolean needsNormal
 

Definition at line 390 of file tr_local.h.

Referenced by R_FindShader(), RB_SurfaceFace(), RB_SurfaceGrid(), RB_SurfaceTriangles(), and RE_RegisterShaderFromImage().

qboolean needsST1
 

Definition at line 391 of file tr_local.h.

Referenced by R_FindShader(), and RE_RegisterShaderFromImage().

qboolean needsST2
 

Definition at line 392 of file tr_local.h.

Referenced by R_FindShader(), and RE_RegisterShaderFromImage().

struct shader_s* next
 

Definition at line 416 of file tr_local.h.

Referenced by GeneratePermanentShader(), R_FindShader(), R_FindShaderByName(), R_RemapShader(), and RE_RegisterShaderFromImage().

qboolean noMipMaps
 

Definition at line 385 of file tr_local.h.

Referenced by ParseShader(), and ParseStage().

qboolean noPicMip
 

Definition at line 386 of file tr_local.h.

Referenced by ParseShader(), and ParseStage().

int numDeforms
 

Definition at line 395 of file tr_local.h.

Referenced by ComputeStageIteratorFunc(), ParseDeform(), and RB_DeformTessGeometry().

int numStates
 

Definition at line 406 of file tr_local.h.

int numUnfoggedPasses
 

Definition at line 398 of file tr_local.h.

Referenced by ComputeStageIteratorFunc(), FinishShader(), GeneratePermanentShader(), R_ShaderList_f(), and RB_BeginSurface().

void(* optimalStageIteratorFunc)(void)
 

Referenced by ComputeStageIteratorFunc(), R_ShaderList_f(), and RB_BeginSurface().

struct shader_s* parentShader
 

Definition at line 408 of file tr_local.h.

qboolean polygonOffset
 

Definition at line 384 of file tr_local.h.

Referenced by ComputeStageIteratorFunc(), FinishShader(), ParseShader(), and RB_StageIteratorGeneric().

float portalRange
 

Definition at line 379 of file tr_local.h.

Referenced by ComputeColors(), ParseStage(), and SurfIsOffscreen().

struct shader_s* remappedShader
 

Definition at line 412 of file tr_local.h.

Referenced by R_RemapShader(), and RB_BeginSurface().

int shaderStates[MAX_STATES_PER_SHADER]
 

Definition at line 414 of file tr_local.h.

skyParms_t sky
 

Definition at line 376 of file tr_local.h.

Referenced by DrawSkyBox(), ParseSkyParms(), R_BuildCloudData(), and RB_StageIteratorSky().

float sort
 

Definition at line 360 of file tr_local.h.

Referenced by CreateInternalShaders(), FinishShader(), GeneratePermanentShader(), ParseShader(), ParseSort(), R_AddMD3Surfaces(), R_SortDrawSurfs(), RB_EndSurface(), RB_StageIteratorGeneric(), RB_StageIteratorLightmappedMultitexture(), RB_StageIteratorVertexLitTexture(), SortNewShader(), and VertexLightingCollapse().

int sortedIndex
 

Definition at line 358 of file tr_local.h.

Referenced by GeneratePermanentShader(), R_AddDrawSurf(), and SortNewShader().

shaderStage_t* stages[MAX_SHADER_STAGES]
 

Definition at line 399 of file tr_local.h.

Referenced by GeneratePermanentShader(), and RB_BeginSurface().

int surfaceFlags
 

Definition at line 370 of file tr_local.h.

Referenced by ParseSurfaceParm(), R_BoxSurfaces_r(), and RB_StageIteratorGeneric().

float timeOffset
 

Definition at line 404 of file tr_local.h.

Referenced by R_RemapShader(), RB_BeginSurface(), and RB_RenderDrawSurfList().


The documentation for this struct was generated from the following file:
Generated on Thu Aug 25 19:59:31 2005 for Quake III Arena by  doxygen 1.3.9.1