| 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 "third_party/imgui/imgui.h"
11
12 namespace impeller {
13
14 class Context;
15 class RenderPass;
16
17 } // namespace impeller
18
19 IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(
20 const std::shared_ptr<impeller::Context>& context);
21
22 IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown();
23
24 IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(
25 ImDrawData* draw_data,
26 impeller::RenderPass& renderpass);
27
28 #endif // FLUTTER_IMPELLER_PLAYGROUND_IMGUI_IMGUI_IMPL_IMPELLER_H_
ImGui_ImplImpeller_Shutdown
IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown()
Definition: imgui_impl_impeller.cc:119
impeller::RenderPass
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:33
impeller
Definition: allocation.cc:12
ImGui_ImplImpeller_RenderDrawData
IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(ImDrawData *draw_data, impeller::RenderPass &renderpass)
Definition: imgui_impl_impeller.cc:126
ImGui_ImplImpeller_Init
IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(const std::shared_ptr< impeller::Context > &context)
Definition: imgui_impl_impeller.cc:56