UFO: Alien Invasion
Loading...
Searching...
No Matches
mBspModel_t Struct Reference

brush model More...

#include <r_model_brush.h>

Collaboration diagram for mBspModel_t:
Collaboration graph

Data Fields

int firstmodelsurface
int nummodelsurfaces
int maptile
int numsubmodels
mBspHeader_t * submodels
int numplanes
cBspPlane_t * planes
int numleafs
mBspLeaf_t * leafs
int numvertexes
mBspVertex_t * vertexes
int numedges
mBspEdge_t * edges
int numnodes
int firstnode
mBspNode_t * nodes
int numtexinfo
mBspTexInfo_t * texinfo
int numsurfaces
mBspSurface_t * surfaces
int numsurfedges
int * surfedges
float * verts
float * texcoords
float * lmtexcoords
float * tangents
float * normals
glElementIndex_t * indexes
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
byte * lightdata
mBspSurfaces_t * sorted_surfaces [NUM_SURFACES_ARRAYS]

Detailed Description

brush model

Definition at line 199 of file r_model_brush.h.

Field Documentation

◆ edges

mBspEdge_t* mBspModel_t::edges

Definition at line 217 of file r_model_brush.h.

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

◆ firstmodelsurface

◆ firstnode

int mBspModel_t::firstnode

Definition at line 220 of file r_model_brush.h.

Referenced by R_SetupSubmodels(), and R_Trace().

◆ index_buffer

unsigned int mBspModel_t::index_buffer

◆ indexes

◆ leafs

mBspLeaf_t* mBspModel_t::leafs

Definition at line 211 of file r_model_brush.h.

Referenced by R_ModLoadLeafs(), and R_ModLoadNodes().

◆ lightdata

byte* mBspModel_t::lightdata

Definition at line 250 of file r_model_brush.h.

Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().

◆ lightquant

byte mBspModel_t::lightquant

Definition at line 249 of file r_model_brush.h.

Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().

◆ lmtexcoord_buffer

unsigned int mBspModel_t::lmtexcoord_buffer

◆ lmtexcoords

float* mBspModel_t::lmtexcoords

◆ maptile

int mBspModel_t::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().

◆ nodes

mBspNode_t* mBspModel_t::nodes

Definition at line 221 of file r_model_brush.h.

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

◆ normal_buffer

unsigned int mBspModel_t::normal_buffer

◆ normals

float* mBspModel_t::normals

◆ numedges

int mBspModel_t::numedges

Definition at line 216 of file r_model_brush.h.

Referenced by R_ModLoadEdges().

◆ numIndexes

int mBspModel_t::numIndexes

◆ numleafs

int mBspModel_t::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().

◆ nummodelsurfaces

◆ numnodes

int mBspModel_t::numnodes

Definition at line 219 of file r_model_brush.h.

Referenced by R_ModLoadNodes(), and R_SetupSubmodels().

◆ numplanes

int mBspModel_t::numplanes

Definition at line 207 of file r_model_brush.h.

Referenced by R_ModLoadPlanes().

◆ numsubmodels

int mBspModel_t::numsubmodels

Definition at line 204 of file r_model_brush.h.

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

◆ numsurfaces

◆ numsurfedges

int mBspModel_t::numsurfedges

Definition at line 229 of file r_model_brush.h.

Referenced by R_ModLoadSurfedges().

◆ numtexinfo

int mBspModel_t::numtexinfo

Definition at line 223 of file r_model_brush.h.

Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().

◆ numvertexes

int mBspModel_t::numvertexes

Definition at line 213 of file r_model_brush.h.

Referenced by R_ModLoadNormals(), and R_ModLoadVertexes().

◆ planes

cBspPlane_t* mBspModel_t::planes

◆ sorted_surfaces

◆ submodels

◆ surfaces

◆ surfedges

int* mBspModel_t::surfedges

Definition at line 230 of file r_model_brush.h.

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

◆ tangent_buffer

unsigned int mBspModel_t::tangent_buffer

◆ tangents

float* mBspModel_t::tangents

◆ texcoord_buffer

unsigned int mBspModel_t::texcoord_buffer

◆ texcoords

float* mBspModel_t::texcoords

◆ texinfo

mBspTexInfo_t* mBspModel_t::texinfo

Definition at line 224 of file r_model_brush.h.

Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().

◆ vertex_buffer

unsigned int mBspModel_t::vertex_buffer

◆ vertexes

◆ verts


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