| Flutter Impeller |

imgui_impl_impeller.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
6 #define FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
7
8 #include <memory>
9
10 #include "impeller/core/host_buffer.h"
11 #include "third_party/imgui/imgui.h"
12
13 namespace impeller {
14
15 class Context;
16 class RenderPass;
17
18 } // namespace impeller
19
20 IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(
21 const std::shared_ptr<impeller::Context>& context);
22
23 IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown();
24
25 IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(
26 ImDrawData* draw_data,
27 impeller::RenderPass& renderpass,
28 impeller::HostBuffer& host_buffer);
29
30 #endif // FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
impeller::HostBuffer
Definition: host_buffer.h:28
impeller::RenderPass
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:30
host_buffer.h
ImGui_ImplImpeller_RenderDrawData
IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(ImDrawData *draw_data, impeller::RenderPass &renderpass, impeller::HostBuffer &host_buffer)
Definition: imgui_impl_impeller.cc:139
ImGui_ImplImpeller_Shutdown
IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown()
Definition: imgui_impl_impeller.cc:132
ImGui_ImplImpeller_Init
IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(const std::shared_ptr< impeller::Context > &context)
Definition: imgui_impl_impeller.cc:57
impeller
Definition: allocation.cc:12