]> git.bts.cx Git - benzene.git/blob - src/bz/renderer/render_pass_internal.h
Sprites
[benzene.git] / src / bz / renderer / render_pass_internal.h
1 #ifndef BZ_RENDERER_RENDER_PASS_INTERNAL_H
2 #define BZ_RENDERER_RENDER_PASS_INTERNAL_H
3
4 #include <bz/renderer/render_pass.h>
5
6 #include <bz/renderer/palette.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 //, size_t width, size_t height, void *fmt
13 //typedef void (*BZRenderPassSoftwareRenderer)(uint32_t *output);
14 //typedef void (*BZRenderPassSetup)(size_t width, size_t height, void *fmt);
15 typedef void (*BZRenderPassSoftwareRenderer)(BZRendererPaletteID palette, uint32_t *output, size_t width, size_t height, size_t pixelWidth, size_t pixelHeight);
16
17 struct BZRenderPass {
18 // BZRenderPassSetup setupHook;
19 BZRenderPassSoftwareRenderer softwareHook;
20 };
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif