#include <Md3Model.h>
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 |
Definition at line 205 of file Md3Model.h.
Md3Mesh::Md3Mesh | ( | std::ifstream & | ifs | ) |
Definition at line 121 of file Md3Model.cpp.
Md3Mesh::~Md3Mesh | ( | ) |
Definition at line 203 of file Md3Model.cpp.
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.