#include <collector.h>
|
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) |
|
◆ 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 TileSpec::layers, MAX_TILE_LAYERS, TileLayer::texture_id, and TileSpec::world_aligned.
Referenced by MapBlockMesh::MapBlockMesh(), 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()
◆ prebuffers
The documentation for this struct was generated from the following files: