UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mBspModel_s Struct Reference

brush model More...

#include <r_model_brush.h>

Data Fields

int firstmodelsurface
 
int nummodelsurfaces
 
int maptile
 
int numsubmodels
 
mBspHeader_tsubmodels
 
int numplanes
 
cBspPlane_tplanes
 
int numleafs
 
mBspLeaf_tleafs
 
int numvertexes
 
mBspVertex_tvertexes
 
int numedges
 
mBspEdge_tedges
 
int numnodes
 
int firstnode
 
mBspNode_tnodes
 
int numtexinfo
 
mBspTexInfo_ttexinfo
 
int numsurfaces
 
mBspSurface_tsurfaces
 
int numsurfedges
 
intsurfedges
 
float * verts
 
float * texcoords
 
float * lmtexcoords
 
float * tangents
 
float * normals
 
glElementIndex_tindexes
 
int numIndexes
 
unsigned int vertex_buffer
 
unsigned int texcoord_buffer
 
unsigned int lmtexcoord_buffer
 
unsigned int tangent_buffer
 
unsigned int normal_buffer
 
unsigned int index_buffer
 
byte lightquant
 
bytelightdata
 
mBspSurfaces_tsorted_surfaces [NUM_SURFACES_ARRAYS]
 

Detailed Description

brush model

Definition at line 199 of file r_model_brush.h.

Field Documentation

mBspEdge_t* mBspModel_s::edges

Definition at line 217 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadEdges(), and R_SetSurfaceExtents().

int mBspModel_s::firstnode

Definition at line 220 of file r_model_brush.h.

Referenced by R_SetupSubmodels(), and R_Trace().

unsigned int mBspModel_s::index_buffer
mBspLeaf_t* mBspModel_s::leafs

Definition at line 211 of file r_model_brush.h.

Referenced by R_ModLoadLeafs(), and R_ModLoadNodes().

byte* mBspModel_s::lightdata

Definition at line 250 of file r_model_brush.h.

Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().

byte mBspModel_s::lightquant

Definition at line 249 of file r_model_brush.h.

Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().

unsigned int mBspModel_s::lmtexcoord_buffer
float* mBspModel_s::lmtexcoords
int mBspModel_s::maptile

the maptile the surface indices belongs to

Definition at line 202 of file r_model_brush.h.

Referenced by R_GenerateTriangleSoup_(), R_ModAddMapTile(), R_RenderBspRRefs(), R_SetupSubmodels(), and R_Trace().

mBspNode_t* mBspModel_s::nodes

Definition at line 221 of file r_model_brush.h.

Referenced by R_GetLevelSurfaceLists(), R_ModLoadNodes(), and R_SetupSubmodels().

unsigned int mBspModel_s::normal_buffer
float* mBspModel_s::normals
int mBspModel_s::numedges

Definition at line 216 of file r_model_brush.h.

Referenced by R_ModLoadEdges().

int mBspModel_s::numIndexes
int mBspModel_s::numleafs

number of visible leafs, not counting 0

Definition at line 210 of file r_model_brush.h.

Referenced by R_ModLoadLeafs(), and R_ModLoadNodes().

int mBspModel_s::numnodes

Definition at line 219 of file r_model_brush.h.

Referenced by R_ModLoadNodes(), and R_SetupSubmodels().

int mBspModel_s::numplanes

Definition at line 207 of file r_model_brush.h.

Referenced by R_ModLoadPlanes().

int mBspModel_s::numsubmodels

Definition at line 204 of file r_model_brush.h.

Referenced by R_ModLoadSubmodels(), R_SetupSubmodels(), and R_SetupWorldModel().

int mBspModel_s::numsurfedges

Definition at line 229 of file r_model_brush.h.

Referenced by R_ModLoadSurfedges().

int mBspModel_s::numtexinfo

Definition at line 223 of file r_model_brush.h.

Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().

int mBspModel_s::numvertexes

Definition at line 213 of file r_model_brush.h.

Referenced by R_ModLoadNormals(), and R_ModLoadVertexes().

cBspPlane_t* mBspModel_s::planes
int* mBspModel_s::surfedges

Definition at line 230 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadSurfedges(), and R_SetSurfaceExtents().

unsigned int mBspModel_s::tangent_buffer
float* mBspModel_s::tangents
unsigned int mBspModel_s::texcoord_buffer
float* mBspModel_s::texcoords
mBspTexInfo_t* mBspModel_s::texinfo

Definition at line 224 of file r_model_brush.h.

Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().

unsigned int mBspModel_s::vertex_buffer

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