simvx.graphics.scene.draw_batch¶
Indirect draw buffer generation — vectorized with numpy.
Module Contents¶
Classes¶
Generates VkDrawIndexedIndirectCommand arrays from entity data. |
Data¶
API¶
- simvx.graphics.scene.draw_batch.__all__¶
[‘DrawBatch’]
- class simvx.graphics.scene.draw_batch.DrawBatch¶
Generates VkDrawIndexedIndirectCommand arrays from entity data.
Initialization
- build(index_counts: numpy.ndarray, first_indices: numpy.ndarray, vertex_offsets: numpy.ndarray) numpy.ndarray¶
Build the indirect draw buffer from per-mesh data (vectorized).