SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_batcher.h
Go to the documentation of this file.
1#ifndef SBGL_BATCHER_H
2#define SBGL_BATCHER_H
3
13#include "sbgl_types.h"
14
29uint32_t sbgl_bake_commands(
30 const sbgl_DrawPacket* packets,
31 uint32_t packetCount,
32 sbgl_IndirectCommand* outCommands,
33 uint32_t maxCommands
34);
35
36#endif // SBGL_BATCHER_H
uint32_t sbgl_bake_commands(const sbgl_DrawPacket *packets, uint32_t packetCount, sbgl_IndirectCommand *outCommands, uint32_t maxCommands)
Definition sbgl_batcher.c:3
Encapsulates all data required to submit a single draw call. Optimized for cache density (16 bytes).
Definition sbgl_types.h:97
Standard Vulkan Indirect Draw command layout.
Definition sbgl_types.h:111