blob: 167215b7c8973b1f868c1ce4929341a9a9d45362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// -- internal --
// public
#include "rodeo.h"
// private
#include "rodeo_internal_types.h"
// -- external --
#include "SDL.h"
#define \
mrodeo_bgfx_vertex_layout_do(vertex_layout) \
mrodeo_defer_do( \
bgfx_vertex_layout_begin( \
vertex_layout, \
bgfx_get_renderer_type() \
), \
bgfx_vertex_layout_end(vertex_layout) \
)
SDL_Window *
irodeo_window_get(void);
void
irodeo_screen_width_set(uint16_t width);
void
irodeo_screen_height_set(uint16_t height);
void
irodeo_render_buffer_transient_alloc(void);
bgfx_shader_handle_t
irodeo_shader_load(const cstr path);
void
irodeo_random_seed_set(stc64_t seed);
stc64_t*
irodeo_random_seed_get(void);
float
irodeo_frame_remaining_get(void);
void
irodeo_frame_stall(void);
|