|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Implementation of the single submission face — the only DrawCommand producer. More...

Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| bool | esengine::batchEntityVisible (const DrawList &drawList, const ClipState &clips, Entity entity, i32 layer, u32 cullBit) |
| void | esengine::pushBatchDraw (DrawList &drawList, const ClipState &clips, u32 vertexByteOffset, u32 vertexCount, u32 indexOffset, u32 indexCount, const BatchDrawKey &key) |
| Atomic primitive: assemble + clip + push one DrawCommand for an index range ALREADY written into (or, for instanced draws, static in) the key's stream. | |
| void | esengine::pushBatchCommand (TransientBufferPool &pool, DrawList &drawList, const ClipState &clips, u32 vertexByteOffset, u32 vertexCount, const u32 *localIndices, u32 indexCount, const BatchDrawKey &key) |
Pushes a DrawCommand for vertices ALREADY resident in the Batch stream at vertexByteOffset. | |
| void | esengine::pushBatchCommand (TransientBufferPool &pool, DrawList &drawList, const ClipState &clips, u32 vertexByteOffset, u32 vertexCount, const u16 *localIndices, u32 indexCount, const BatchDrawKey &key) |
| void | esengine::appendIndexedDraw (TransientBufferPool &pool, DrawList &drawList, const ClipState &clips, const void *verts, u32 vertexCount, const u32 *localIndices, u32 indexCount, const BatchDrawKey &key) |
| Copies raw vertices into the key's stream, then pushes one DrawCommand spanning them. | |
| void | esengine::appendIndexedBatch (TransientBufferPool &pool, DrawList &drawList, const ClipState &clips, const BatchVertex *verts, u32 vertexCount, const u32 *localIndices, u32 indexCount, const BatchDrawKey &key) |
Copies verts into the Batch stream, then pushes one DrawCommand spanning them. | |
| void | esengine::appendQuads (TransientBufferPool &pool, DrawList &drawList, const ClipState &clips, const BatchVertex *quads, u32 quadCount, const BatchDrawKey &key) |
Implementation of the single submission face — the only DrawCommand producer.
Definition in file BatchBuilder.cpp.