#include <collector.h>
Collaboration diagram for MeshCollector:Public Member Functions | |
| MeshCollector (const v3f center_pos, v3f offset=v3f()) | |
| void | append (const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices) |
Public Attributes | |
| std::array< std::vector< PreMeshBuffer >, MAX_TILE_LAYERS > | prebuffers |
| f32 | m_bounding_radius_sq = 0.0f |
| v3f | m_center_pos |
| v3f | offset |
Private Member Functions | |
| void | append (const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, u8 layernum) |
| PreMeshBuffer & | findBuffer (const TileLayer &layer, u8 layernum, u32 numVertices) |
|
private |
References findBuffer(), m_bounding_radius_sq, m_center_pos, offset, p(), TileLayer::texture_layer_idx, and U16_MAX.
Here is the call graph for this function:| void MeshCollector::append | ( | const TileSpec & | material, |
| const video::S3DVertex * | vertices, | ||
| u32 | numVertices, | ||
| const u16 * | indices, | ||
| u32 | numIndices ) |
References append(), TileLayer::empty(), TileSpec::layers, and MAX_TILE_LAYERS.
Referenced by append(), MapblockMeshGenerator::drawCuboid(), MapblockMeshGenerator::drawLiquidBottom(), MapblockMeshGenerator::drawLiquidSides(), MapblockMeshGenerator::drawLiquidTop(), MapblockMeshGenerator::drawMeshNode(), and MapblockMeshGenerator::drawQuad().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References p(), prebuffers, and U16_MAX.
Referenced by append().
Here is the call graph for this function:
Here is the caller graph for this function:| f32 MeshCollector::m_bounding_radius_sq = 0.0f |
Referenced by MapBlockMesh::MapBlockMesh(), and append().
| std::array<std::vector<PreMeshBuffer>, MAX_TILE_LAYERS> MeshCollector::prebuffers |
Referenced by MapBlockMesh::MapBlockMesh(), createGenericNodeMesh(), findBuffer(), and generateNodeMesh().