#include <collector.h>
|
| MeshCollector (const v3f center_pos, v3f offset=v3f()) |
|
void | append (const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices) |
|
void | append (const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, v3f pos, video::SColor c, u8 light_source) |
|
|
void | append (const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, u8 layernum, bool use_scale=false) |
|
void | append (const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, v3f pos, video::SColor c, u8 light_source, 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/4]
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/4]
void MeshCollector::append |
( |
const TileLayer & | material, |
|
|
const video::S3DVertex * | vertices, |
|
|
u32 | numVertices, |
|
|
const u16 * | indices, |
|
|
u32 | numIndices, |
|
|
v3f | pos, |
|
|
video::SColor | c, |
|
|
u8 | light_source, |
|
|
u8 | layernum, |
|
|
bool | use_scale = false ) |
|
private |
◆ append() [3/4]
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(), append(), MapblockMeshGenerator::drawCuboid(), MapblockMeshGenerator::drawLiquidBottom(), MapblockMeshGenerator::drawLiquidSides(), MapblockMeshGenerator::drawLiquidTop(), MapblockMeshGenerator::drawMeshNode(), and MapblockMeshGenerator::drawQuad().
◆ append() [4/4]
void MeshCollector::append |
( |
const TileSpec & | material, |
|
|
const video::S3DVertex * | vertices, |
|
|
u32 | numVertices, |
|
|
const u16 * | indices, |
|
|
u32 | numIndices, |
|
|
v3f | pos, |
|
|
video::SColor | c, |
|
|
u8 | light_source ) |
◆ 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: