mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
make BlocksRenderer::createMesh return MeshData & make ChunksRenderer workers have standalone results
This commit is contained in:
parent
4e3064e37b
commit
3e1a82d137
5 changed files with 28 additions and 12 deletions
|
|
@ -16,6 +16,8 @@ struct MeshData {
|
|||
util::Buffer<int> indices;
|
||||
util::Buffer<vattr> attrs;
|
||||
|
||||
MeshData() = default;
|
||||
|
||||
/// @param vertices vertex data buffer
|
||||
/// @param indices nullable indices buffer
|
||||
/// @param attrs vertex attribute sizes (must be null-terminated)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue