mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-21 13:15:02 +01:00
Draw the instances from the GPU with multi draws, the model block of each draw read by its number
This commit is contained in:
@@ -65,6 +65,9 @@ private:
|
||||
// draw_indirect() subclass details — issues glDrawElementsIndirect or glDrawArraysIndirect
|
||||
void
|
||||
draw_indirect_( gfx::geometry_handle const &Geometry, std::intptr_t const Offset, unsigned int const Streams ) override;
|
||||
// draw_indirect_multi() subclass details — issues glMultiDrawElementsIndirect or glMultiDrawArraysIndirect
|
||||
auto
|
||||
draw_indirect_multi_( gfx::geometry_handle const &Geometry, std::intptr_t const Offset, std::uint32_t const Count, std::uint32_t const Stride ) -> bool override;
|
||||
// release() subclass details
|
||||
void
|
||||
release_() override;
|
||||
|
||||
Reference in New Issue
Block a user