vkQuake2 doxygen  1.0 dev
msurface_s Struct Reference

#include <r_model.h>

Public Attributes

int visframe
 
int dlightframe
 
int dlightbits
 
mplane_tplane
 
int flags
 
int firstedge
 
int numedges
 
struct surfcache_scachespots [MIPLEVELS]
 
short texturemins [2]
 
short extents [2]
 
mtexinfo_ttexinfo
 
byte styles [MAXLIGHTMAPS]
 
bytesamples
 
struct msurface_snextalphasurface
 
cplane_tplane
 
int light_s
 
int light_t
 
int dlight_s
 
int dlight_t
 
glpoly_tpolys
 
struct msurface_stexturechain
 
struct msurface_slightmapchain
 
int lightmaptexturenum
 
float cached_light [MAXLIGHTMAPS]
 
vkpoly_tpolys
 

Detailed Description

Definition at line 93 of file r_model.h.

Member Data Documentation

◆ cached_light

float msurface_s::cached_light

◆ cachespots

struct surfcache_s* msurface_s::cachespots[MIPLEVELS]

Definition at line 107 of file r_model.h.

Referenced by D_CacheSurface().

◆ dlight_s

int msurface_s::dlight_s

Definition at line 109 of file gl_model.h.

Referenced by R_BlendLightmaps().

◆ dlight_t

int msurface_s::dlight_t

Definition at line 109 of file gl_model.h.

Referenced by R_BlendLightmaps().

◆ dlightbits

int msurface_s::dlightbits

Definition at line 98 of file r_model.h.

Referenced by R_AddDynamicLights(), R_AddDynamicLightsRGB(), and R_MarkLights().

◆ dlightframe

◆ extents

◆ firstedge

◆ flags

◆ light_s

◆ light_t

◆ lightmapchain

struct msurface_s * msurface_s::lightmapchain

Definition at line 113 of file gl_model.h.

Referenced by R_BlendLightmaps(), R_DrawTriangleOutlines(), and R_RenderBrushPoly().

◆ lightmaptexturenum

◆ nextalphasurface

struct msurface_s* msurface_s::nextalphasurface

Definition at line 118 of file r_model.h.

Referenced by R_RenderBmodelFace(), and R_RenderFace().

◆ numedges

◆ plane [1/2]

cplane_t* msurface_s::plane

Definition at line 99 of file gl_model.h.

◆ plane [2/2]

◆ polys [1/2]

◆ polys [2/2]

vkpoly_t* msurface_s::polys

Definition at line 112 of file vk_model.h.

◆ samples

byte * msurface_s::samples

◆ styles

◆ texinfo

◆ texturechain

struct msurface_s * msurface_s::texturechain

Definition at line 112 of file gl_model.h.

Referenced by R_DrawInlineBModel(), and R_RecursiveWorldNode().

◆ texturemins

◆ visframe

int msurface_s::visframe

Definition at line 95 of file r_model.h.

Referenced by R_RecursiveWorldNode().