Public Member Functions

Md3Mesh Class Reference

#include <Md3Model.h>

Collaboration diagram for Md3Mesh:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Md3Mesh (std::ifstream &ifs)
 ~Md3Mesh ()
void loadShader (int index)
void bindTexture () const
void setupVertexArrays (int frameA, int frameB, float interp, float scale)
void renderFrameImmediate (int frame, float scale) const
void renderWithVertexArrays () const
void setTexture (const Texture2D *tex)
const char * name () const

Detailed Description

Definition at line 205 of file Md3Model.h.


Constructor & Destructor Documentation

Md3Mesh::Md3Mesh ( std::ifstream &  ifs  ) 

Definition at line 121 of file Md3Model.cpp.

Md3Mesh::~Md3Mesh (  ) 

Definition at line 203 of file Md3Model.cpp.


Member Function Documentation

void Md3Mesh::loadShader ( int  index  ) 

Definition at line 215 of file Md3Model.cpp.

void Md3Mesh::bindTexture (  )  const

Definition at line 239 of file Md3Model.cpp.

void Md3Mesh::setupVertexArrays ( int  frameA,
int  frameB,
float  interp,
float  scale 
)

Definition at line 277 of file Md3Model.cpp.

void Md3Mesh::renderFrameImmediate ( int  frame,
float  scale 
) const

Definition at line 322 of file Md3Model.cpp.

void Md3Mesh::renderWithVertexArrays (  )  const

Definition at line 380 of file Md3Model.cpp.

void Md3Mesh::setTexture ( const Texture2D tex  )  [inline]

Definition at line 227 of file Md3Model.h.

const char* Md3Mesh::name (  )  const [inline]

Definition at line 230 of file Md3Model.h.


The documentation for this class was generated from the following files: