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
12
#include "
backend/sbgl_graphics_hal.h
"
13
#include "
sbgl_types.h
"
14
29
uint32_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
sbgl_bake_commands
uint32_t sbgl_bake_commands(const sbgl_DrawPacket *packets, uint32_t packetCount, sbgl_IndirectCommand *outCommands, uint32_t maxCommands)
Definition
sbgl_batcher.c:3
sbgl_graphics_hal.h
sbgl_types.h
sbgl_DrawPacket
Encapsulates all data required to submit a single draw call. Optimized for cache density (16 bytes).
Definition
sbgl_types.h:97
sbgl_IndirectCommand
Standard Vulkan Indirect Draw command layout.
Definition
sbgl_types.h:111
src
core
sbgl_batcher.h
Generated by
1.12.0