Minetest  5.4.0
MeshBufListList Struct Reference

#include <clientmap.h>

+ Collaboration diagram for MeshBufListList:

Public Member Functions

void clear ()
 
void add (scene::IMeshBuffer *buf, v3s16 position, u8 layer)
 

Public Attributes

std::vector< MeshBufListlists [MAX_TILE_LAYERS]
 

Member Function Documentation

◆ add()

void MeshBufListList::add ( scene::IMeshBuffer *  buf,
v3s16  position,
u8  layer 
)

References MeshBufList::bufs, lists, and MeshBufList::m.

Referenced by ClientMap::renderMap().

+ Here is the caller graph for this function:

◆ clear()

void MeshBufListList::clear ( )

References lists.

Member Data Documentation

◆ 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().


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