Logo Search packages:      
Sourcecode: darkplaces version File versions  Download package

Public Attributes

model_s Struct Reference

Collaboration diagram for model_s:
Collaboration graph
[legend]

List of all members.

Public Attributes

void(* AnimateVertices )(const struct model_s *RESTRICT model, const struct frameblend_s *RESTRICT frameblend, const struct skeleton_s *skeleton, float *RESTRICT vertex3f, float *RESTRICT normal3f, float *RESTRICT svector3f, float *RESTRICT tvector3f)
animscene_tanimscenes
model_brush_t brush
model_brushq1_t brushq1
model_brushq3_t brushq3
bih_t collision_bih
void(* CompileShadowMap )(struct entity_render_s *ent, vec3_t relativelightorigin, vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist)
void(* CompileShadowVolume )(struct entity_render_s *ent, vec3_t relativelightorigin, vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist)
unsigned int crc
float * data_baseboneposeinverse
aliasbone_tdata_bones
short * data_poses6s
msurface_tdata_surfaces
msurface_lightmapinfo_tdata_surfaces_lightmapinfo
aliastag_tdata_tags
texture_tdata_textures
void(* Draw )(struct entity_render_s *ent)
void(* DrawAddWaterPlanes )(struct entity_render_s *ent)
void(* DrawDebug )(struct entity_render_s *ent)
void(* DrawDepth )(struct entity_render_s *ent)
void(* DrawLight )(struct entity_render_s *ent, int numsurfaces, const int *surfacelist, const unsigned char *trispvs)
void(* DrawPrepass )(struct entity_render_s *ent)
void(* DrawShadowMap )(int side, struct entity_render_s *ent, const vec3_t relativelightorigin, const vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist, const unsigned char *surfacesides, const vec3_t lightmins, const vec3_t lightmaxs)
void(* DrawShadowVolume )(struct entity_render_s *ent, const vec3_t relativelightorigin, const vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist, const vec3_t lightmins, const vec3_t lightmaxs)
void(* DrawSky )(struct entity_render_s *ent)
int effects
int firstmodelbrush
int firstmodelsurface
void(* GetLightInfo )(struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius, vec3_t outmins, vec3_t outmaxs, int *outleaflist, unsigned char *outleafpvs, int *outnumleafspointer, int *outsurfacelist, unsigned char *outsurfacepvs, int *outnumsurfacespointer, unsigned char *outshadowtrispvs, unsigned char *outlighttrispvs, unsigned char *visitingleafpvs, int numfrustumplanes, const mplane_t *frustumplanes)
qboolean lit
qboolean loaded
mempool_tmempool
const char * modeldatatypestring
char name [MAX_QPATH]
vec3_t normalmaxs
vec3_t normalmins
int num_bones
float num_poseinvscale
int num_poses
float num_posescale
int num_surfaces
int num_tagframes
int num_tags
int num_textures
int num_texturesperskin
int numframes
int nummodelbrushes
int nummodelsurfaces
int numskins
int(* PointSuperContents )(struct model_s *model, int frame, const vec3_t point)
float radius
float radius2
bih_t render_bih
vec3_t rotatedmaxs
vec3_t rotatedmins
animscene_tskinscenes
int * sortedmodelsurfaces
int soundfromcenter
model_sprite_t sprite
surfmesh_t surfmesh
synctype_t synctype
rtexturepool_ttexturepool
void(* TraceBox )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t boxmins, const vec3_t boxmaxs, const vec3_t end, int hitsupercontentsmask)
void(* TraceBrush )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, struct colbrushf_s *start, struct colbrushf_s *end, int hitsupercontentsmask)
void(* TraceLine )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask)
void(* TraceLineAgainstSurfaces )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask)
void(* TracePoint )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, int hitsupercontentsmask)
modtype_t type
qboolean used
qboolean wantnormals
qboolean wanttangents
vec3_t yawmaxs
vec3_t yawmins

Detailed Description

Definition at line 916 of file model_shared.h.


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

Generated by  Doxygen 1.6.0   Back to index