PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

md2_t Struct Reference

#include <PVRTModelMD2.h>

List of all members.

Public Attributes

int ident
int version
int skinwidth
int skinheight
int framesize
int num_skins
int num_xyz
int num_st
int num_tris
int num_glcmds
int num_frames
int ofs_skins
int ofs_st
int ofs_tris
int ofs_frames
int ofs_glcmds
int ofs_end


Detailed Description

md2 header


Member Data Documentation



framesize


int md2_t::framesize
 

size of one frame in bytes



ident


int md2_t::ident
 

magic number. must be equal to "IPD2"



num_frames


int md2_t::num_frames
 

total number of frames



num_glcmds


int md2_t::num_glcmds
 

number of opengl commands



num_skins


int md2_t::num_skins
 

number of textures



num_st


int md2_t::num_st
 

number of texture coordinates



num_tris


int md2_t::num_tris
 

number of triangles



num_xyz


int md2_t::num_xyz
 

number of vertices



ofs_end


int md2_t::ofs_end
 

offset to the end of file



ofs_frames


int md2_t::ofs_frames
 

offset to frame data



ofs_glcmds


int md2_t::ofs_glcmds
 

offset to opengl commands



ofs_skins


int md2_t::ofs_skins
 

offset to skin names (64 bytes each)



ofs_st


int md2_t::ofs_st
 

offset to s-t texture coordinates



ofs_tris


int md2_t::ofs_tris
 

offset to triangles



skinheight


int md2_t::skinheight
 

height of the texture



skinwidth


int md2_t::skinwidth
 

width of the texture



version


int md2_t::version
 

md2 version. must be equal to 8


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

Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6