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

shaderInfo_s Struct Reference

#include <shaders.h>


Data Fields

qboolean autosprite
vec3_t averageColor
char backShader [MAX_QPATH]
float backsplashDistance
float backsplashFraction
vec3_t color
int contents
char editorimage [MAX_QPATH]
char flareShader [MAX_QPATH]
qboolean forceSunLight
qboolean forceTraceLight
qboolean forceVLight
qboolean globalTexture
qboolean hasPasses
int height
qboolean lightFilter
char lightimage [MAX_QPATH]
int lightmapSampleSize
float lightSubdivide
qboolean notjunc
qboolean noVertexShadows
qboolean patchShadows
bytepixels
char shader [MAX_QPATH]
float subdivisions
vec3_t sunDirection
vec3_t sunLight
int surfaceFlags
qboolean twoSided
int value
float vertexScale
qboolean vertexShadows
int width


Field Documentation

qboolean autosprite
 

Definition at line 44 of file shaders.h.

Referenced by ClipSidesIntoTree(), CreateSurfaceLights(), FixTJunctions(), ParseShaderFile(), SubdivideDrawSurfs(), VL_CreateFakeSurfaceLights(), and VS_CreateFakeSurfaceLights().

vec3_t averageColor
 

Definition at line 60 of file shaders.h.

Referenced by LoadShaderImage().

char backShader[MAX_QPATH]
 

Definition at line 30 of file shaders.h.

Referenced by ParseShaderFile().

float backsplashDistance
 

Definition at line 35 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), SubdivideAreaLight(), VL_SubdivideAreaLight(), and VS_SubdivideAreaLight().

float backsplashFraction
 

Definition at line 34 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), SubdivideAreaLight(), VL_SubdivideAreaLight(), and VS_SubdivideAreaLight().

vec3_t color
 

Definition at line 59 of file shaders.h.

Referenced by CreateFlareSurface(), CreateSurfaceLights(), LoadShaderImage(), SubdivideAreaLight(), VL_CreateFakeSurfaceLights(), VL_SubdivideAreaLight(), VS_CreateFakeSurfaceLights(), and VS_SubdivideAreaLight().

int contents
 

Definition at line 27 of file shaders.h.

Referenced by AllocShaderInfo(), ClipSidesIntoTree(), EmitShader(), FogDrawSurfs(), InitSurfacesForTesting(), ParseRawBrush(), ParseShaderFile(), SubdivideAreaLight(), VL_InitSurfacesForTesting(), VL_R_CastLightAtSurface(), VL_SubdivideAreaLight(), VS_InitSurfacesForTesting(), VS_R_CastLightAtSurface(), and VS_SubdivideAreaLight().

char editorimage[MAX_QPATH]
 

Definition at line 57 of file shaders.h.

Referenced by LoadShaderImage(), and ParseShaderFile().

char flareShader[MAX_QPATH]
 

Definition at line 31 of file shaders.h.

Referenced by CreateFlareSurface(), FilterDrawsurfsIntoTree(), and ParseShaderFile().

qboolean forceSunLight
 

Definition at line 53 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), TraceLtm(), TriSoupLightingThread(), and VertexLightingThread().

qboolean forceTraceLight
 

Definition at line 48 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), VL_DoForcedTraceLight(), VL_InitSurfacesForTesting(), VS_DoForcedTraceLight(), and VS_InitSurfacesForTesting().

qboolean forceVLight
 

Definition at line 49 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), VL_DoForcedTraceLight(), VL_InitSurfacesForTesting(), VS_DoForcedTraceLight(), and VS_InitSurfacesForTesting().

qboolean globalTexture
 

Definition at line 41 of file shaders.h.

Referenced by ChopFaceByBrush(), DrawSurfaceForSide(), and ParseShaderFile().

qboolean hasPasses
 

Definition at line 39 of file shaders.h.

Referenced by ParseShaderFile().

int height
 

Definition at line 62 of file shaders.h.

Referenced by ChopFaceByBrush(), DrawSurfaceForSide(), EmitTerrainVerts(), EmitTerrainVerts2(), FilterTrace(), LoadShaderImage(), SetFacetFilter(), VL_GetFilter(), and VS_GetFilter().

qboolean lightFilter
 

Definition at line 46 of file shaders.h.

char lightimage[MAX_QPATH]
 

Definition at line 58 of file shaders.h.

Referenced by LoadShaderImage(), and ParseShaderFile().

int lightmapSampleSize
 

Definition at line 37 of file shaders.h.

Referenced by AllocateLightmapForPatch(), AllocateLightmapForSurface(), AllocShaderInfo(), ParseShaderFile(), TraceLtm(), VL_FacetsForPatch(), VL_LightmapMatrixFromPoints(), VS_FacetsForPatch(), and VS_LightmapMatrixFromPoints().

float lightSubdivide
 

Definition at line 36 of file shaders.h.

Referenced by CreateSurfaceLights(), ParseShaderFile(), VL_CreateFakeSurfaceLights(), and VS_CreateFakeSurfaceLights().

qboolean notjunc
 

Definition at line 54 of file shaders.h.

Referenced by AllocShaderInfo(), FixTJunctions(), and ParseShaderFile().

qboolean noVertexShadows
 

Definition at line 52 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), TraceLtm(), and TriSoupLightingThread().

qboolean patchShadows
 

Definition at line 50 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), and TraceLtm().

byte* pixels
 

Definition at line 63 of file shaders.h.

Referenced by FilterTrace(), LoadShaderImage(), SetFacetFilter(), VL_GetFilter(), and VS_GetFilter().

char shader[MAX_QPATH]
 

Definition at line 25 of file shaders.h.

Referenced by EmitBrushes(), EmitFlareSurf(), EmitModelSurf(), EmitPatchSurf(), EmitPlanarSurf(), FogDrawSurfs(), LayerForShader(), LoadShaderImage(), ParseShaderFile(), SetTerrainTextures(), and ShaderInfoForShader().

float subdivisions
 

Definition at line 33 of file shaders.h.

Referenced by ParseShaderFile(), and SubdivideDrawSurfs().

vec3_t sunDirection
 

Definition at line 66 of file shaders.h.

Referenced by FindSkyBrushes(), ParseShaderFile(), VL_CreateSkyLights(), and VS_CreateSkyLights().

vec3_t sunLight
 

Definition at line 65 of file shaders.h.

Referenced by FindSkyBrushes(), ParseShaderFile(), VL_CreateSkyLights(), and VS_CreateSkyLights().

int surfaceFlags
 

Definition at line 26 of file shaders.h.

Referenced by AllocateLightmaps(), ClipSidesIntoTree(), EmitShader(), FindSkyBrushes(), InitSurfacesForTesting(), ParseRawBrush(), ParseShaderFile(), SetFacetFilter(), SetTerrainTextures(), TraceAgainstFacet(), VL_CreateSkyLights(), VL_GetFilter(), VL_InitSurfacesForTesting(), VL_R_CastLightAtSurface(), VS_CreateSkyLights(), VS_GetFilter(), VS_InitSurfacesForTesting(), and VS_R_CastLightAtSurface().

qboolean twoSided
 

Definition at line 43 of file shaders.h.

Referenced by CreateSurfaceLights(), ParseShaderFile(), VL_CreateFakeSurfaceLights(), VL_R_FloodLight(), VS_CreateFakeSurfaceLights(), and VS_R_FloodLight().

int value
 

Definition at line 28 of file shaders.h.

Referenced by CreateSurfaceLights(), ParseRawBrush(), ParseShaderFile(), SubdivideAreaLight(), VL_CreateFakeSurfaceLights(), VL_SubdivideAreaLight(), VS_CreateFakeSurfaceLights(), and VS_SubdivideAreaLight().

float vertexScale
 

Definition at line 55 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), TraceLtm(), and VertexLightingThread().

qboolean vertexShadows
 

Definition at line 51 of file shaders.h.

Referenced by AllocShaderInfo(), ParseShaderFile(), TraceLtm(), and VertexLightingThread().

int width
 

Definition at line 62 of file shaders.h.

Referenced by ChopFaceByBrush(), DrawSurfaceForSide(), EmitTerrainVerts(), EmitTerrainVerts2(), FilterTrace(), LoadShaderImage(), SetFacetFilter(), ShaderInfoForShader(), VL_GetFilter(), and VS_GetFilter().


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