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_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

◆ edges

mBspEdge_t* mBspModel_t::edges

Definition at line 217 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), and R_SetSurfaceExtents().

◆ firstmodelsurface

int mBspModel_t::firstmodelsurface

◆ firstnode

int mBspModel_t::firstnode

Definition at line 220 of file r_model_brush.h.

Referenced by R_SetupSubmodels().

◆ 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.

◆ lightdata

byte* mBspModel_t::lightdata

Definition at line 250 of file r_model_brush.h.

◆ lightquant

byte mBspModel_t::lightquant

Definition at line 249 of file r_model_brush.h.

◆ 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_RenderBspRRefs(), and R_SetupSubmodels().

◆ nodes

mBspNode_t* mBspModel_t::nodes

Definition at line 221 of file r_model_brush.h.

Referenced by R_GetLevelSurfaceLists(), 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.

◆ 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.

◆ nummodelsurfaces

int mBspModel_t::nummodelsurfaces

◆ numnodes

int mBspModel_t::numnodes

Definition at line 219 of file r_model_brush.h.

◆ numplanes

int mBspModel_t::numplanes

Definition at line 207 of file r_model_brush.h.

◆ numsubmodels

int mBspModel_t::numsubmodels

Definition at line 204 of file r_model_brush.h.

◆ numsurfaces

int mBspModel_t::numsurfaces

◆ numsurfedges

int mBspModel_t::numsurfedges

Definition at line 229 of file r_model_brush.h.

◆ numtexinfo

int mBspModel_t::numtexinfo

Definition at line 223 of file r_model_brush.h.

◆ numvertexes

int mBspModel_t::numvertexes

Definition at line 213 of file r_model_brush.h.

◆ planes

cBspPlane_t* mBspModel_t::planes

Definition at line 208 of file r_model_brush.h.

◆ sorted_surfaces

◆ submodels

mBspHeader_t* mBspModel_t::submodels

Definition at line 205 of file r_model_brush.h.

Referenced by R_GenerateGrass(), and R_GetLevelSurfaceLists().

◆ surfaces

◆ surfedges

int* mBspModel_t::surfedges

Definition at line 230 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), 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.

◆ vertex_buffer

unsigned int mBspModel_t::vertex_buffer

◆ vertexes

mBspVertex_t* mBspModel_t::vertexes

Definition at line 214 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), and R_SetSurfaceExtents().

◆ verts

float* mBspModel_t::verts

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