change back from atlas texture for tiles to array texture

add callback support for imgui sdlgpu3 backend
This commit is contained in:
Sven Balzer
2025-03-20 12:10:23 +01:00
parent e87a66b984
commit 3a2b156951
9 changed files with 794 additions and 359 deletions
+9
View File
@@ -46,4 +46,13 @@ IMGUI_IMPL_API void ImGui_ImplSDLGPU3_DestroyDeviceObjects();
IMGUI_IMPL_API void ImGui_ImplSDLGPU3_CreateFontsTexture();
IMGUI_IMPL_API void ImGui_ImplSDLGPU3_DestroyFontsTexture();
// [BETA] Selected render state data shared with callbacks.
// This is temporarily stored in GetPlatformIO().Renderer_RenderState during the ImGui_ImplSDLGPU3_RenderDrawData() call.
// (Please open an issue if you feel you need access to more data)
struct ImGui_ImplSDLGPU3_RenderState
{
SDL_GPUCommandBuffer* command_buffer;
SDL_GPURenderPass* render_pass;
};
#endif // #ifndef IMGUI_DISABLE