diff options
| author | realtradam <[email protected]> | 2023-03-24 03:18:42 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-24 03:18:42 -0400 |
| commit | b2fdd29e4965b096e285a17162b268710077ea04 (patch) | |
| tree | 449f4d5fc1cad055d4e5f50a1af7c7f3d16689c5 /src/rodeo_internal_types.h | |
| parent | 632619168ddbe7707d4b47bf2ffcc972df7a20ea (diff) | |
| download | RodeoKit-b2fdd29e4965b096e285a17162b268710077ea04.tar.gz RodeoKit-b2fdd29e4965b096e285a17162b268710077ea04.zip | |
texture rendering prototype
Diffstat (limited to 'src/rodeo_internal_types.h')
| -rw-r--r-- | src/rodeo_internal_types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rodeo_internal_types.h b/src/rodeo_internal_types.h index 82a3140..174f6b1 100644 --- a/src/rodeo_internal_types.h +++ b/src/rodeo_internal_types.h @@ -1,12 +1,13 @@ #pragma once -// public internal +// -- internal -- +// public #include "rodeo_config.h" #include "rodeo_types.h" -// system +// -- system -- #if __EMSCRIPTEN__ -#include <emscripten/emscripten.h> + #include <emscripten/emscripten.h> #endif #include "SDL2/SDL.h" #include "SDL2/SDL_syswm.h" @@ -30,6 +31,7 @@ typedef struct uint16_t index_count; uint16_t index_size; uint16_t batched_indices[(mrodeo_vertex_size_max / 4) * 6]; + uint16_t active_texture_id; bgfx_shader_handle_t vertex_shader; bgfx_shader_handle_t fragment_shader; bgfx_program_handle_t program_shader; |
