DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
msurface_t Struct Reference

describes the textures to use on a range of triangles in the model, and mins/maxs (AABB) for culling. More...

#include <model_shared.h>

+ Collaboration diagram for msurface_t:

Data Fields

struct rtexture_s * deluxemaptexture
 the lighting direction texture fragment to use on the rendering mesh
 
struct q3deffect_s * effect
 fog volume info in q3bsp
 
qbool included
 
msurface_lightmapinfo_tlightmapinfo
 lightmaptexture rebuild information not used in q3bsp
 
struct rtexture_s * lightmaptexture
 the lightmap texture fragment to use on the rendering mesh
 
vec3_t maxs
 
vec3_t mins
 bounding box for onscreen checks
 
int num_collisiontriangles
 
int num_collisionvertices
 
int num_firstcollisiontriangle
 mesh information for collisions (only used by q3bsp curves)
 
int num_firsttriangle
 
int num_firstvertex
 
int num_triangles
 range of triangles and vertices in model->surfmesh
 
int num_vertices
 
texture_ttexture
 the texture to use on the surface
 

Detailed Description

describes the textures to use on a range of triangles in the model, and mins/maxs (AABB) for culling.

Definition at line 377 of file model_shared.h.

Field Documentation

◆ deluxemaptexture

struct rtexture_s* msurface_t::deluxemaptexture

◆ effect

struct q3deffect_s* msurface_t::effect

fog volume info in q3bsp

Definition at line 401 of file model_shared.h.

Referenced by Mod_Q3BSP_LoadFaces().

◆ included

qbool msurface_t::included

Definition at line 409 of file model_shared.h.

◆ lightmapinfo

◆ lightmaptexture

struct rtexture_s* msurface_t::lightmaptexture

◆ maxs

◆ mins

◆ num_collisiontriangles

int msurface_t::num_collisiontriangles

Definition at line 405 of file model_shared.h.

Referenced by Mod_BSP_LoadNodes_RecursiveSetParent(), and Mod_Q3BSP_LoadFaces().

◆ num_collisionvertices

int msurface_t::num_collisionvertices

Definition at line 406 of file model_shared.h.

Referenced by Mod_Q3BSP_LoadFaces().

◆ num_firstcollisiontriangle

int msurface_t::num_firstcollisiontriangle

mesh information for collisions (only used by q3bsp curves)

Definition at line 404 of file model_shared.h.

Referenced by Mod_MakeCollisionBIH(), and Mod_Q3BSP_LoadFaces().

◆ num_firsttriangle

◆ num_firstvertex

◆ num_triangles

◆ num_vertices

◆ texture


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