32 void render(
bool animated);
Represents a single render pass (material + geometry) for an M2 model geoset.
static const uint16 INVALID_TEX
Sentinel value for an unset texture.
void deinit()
Clean up render state after drawing.
WoWModel * model
Owning model.
bool twrap
Texture wrapping modes (S and T).
void render(bool animated)
Execute the render pass.
int16 specialTex
Material property indices.
bool billboard
Render state flags.
bool init()
Initialise render state from the model's material data.
glm::vec4 ecol
Output and emissive colours.
int geoIndex
Geoset index this pass draws.
Core WoW .m2 model: geometry, animation, textures, and character data.