#include <collector.h>
|
void | append (const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, u8 layernum, bool use_scale=false) |
|
PreMeshBuffer & | findBuffer (const TileLayer &layer, u8 layernum, u32 numVertices) |
|
◆ MeshCollector()
MeshCollector::MeshCollector |
( |
const v3f | center_pos, |
|
|
v3f | offset = v3f() ) |
|
inline |
◆ append() [1/2]
void MeshCollector::append |
( |
const TileLayer & | material, |
|
|
const video::S3DVertex * | vertices, |
|
|
u32 | numVertices, |
|
|
const u16 * | indices, |
|
|
u32 | numIndices, |
|
|
u8 | layernum, |
|
|
bool | use_scale = false ) |
|
private |
◆ append() [2/2]
void MeshCollector::append |
( |
const TileSpec & | material, |
|
|
const video::S3DVertex * | vertices, |
|
|
u32 | numVertices, |
|
|
const u16 * | indices, |
|
|
u32 | numIndices ) |
References append(), TileSpec::layers, MAX_TILE_LAYERS, TileLayer::texture_id, and TileSpec::world_aligned.
Referenced by append(), MapblockMeshGenerator::drawCuboid(), MapblockMeshGenerator::drawLiquidBottom(), MapblockMeshGenerator::drawLiquidSides(), MapblockMeshGenerator::drawLiquidTop(), MapblockMeshGenerator::drawMeshNode(), and MapblockMeshGenerator::drawQuad().
◆ findBuffer()
◆ m_bounding_radius_sq
f32 MeshCollector::m_bounding_radius_sq = 0.0f |
◆ m_center_pos
v3f MeshCollector::m_center_pos |
◆ offset
v3f MeshCollector::offset |
◆ prebuffers
The documentation for this struct was generated from the following files: