#include <clientmap.h>
Public Member Functions | |
void | clear () |
void | add (scene::IMeshBuffer *buf, v3s16 position, u8 layer) |
Public Attributes | |
std::vector< MeshBufList > | lists [MAX_TILE_LAYERS] |
void MeshBufListList::add | ( | scene::IMeshBuffer * | buf, |
v3s16 | position, | ||
u8 | layer | ||
) |
References MeshBufList::bufs, lists, and MeshBufList::m.
Referenced by ClientMap::renderMap().
void MeshBufListList::clear | ( | ) |
References lists.
std::vector<MeshBufList> MeshBufListList::lists[MAX_TILE_LAYERS] |
Stores the mesh buffers of the world. The array index is the material's layer. The vector part groups vertices by material.
Referenced by add(), clear(), and ClientMap::renderMap().