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 
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_
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:30
IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(ImDrawData *draw_data, impeller::RenderPass &renderpass, impeller::HostBuffer &host_buffer)
IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown()
IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(const std::shared_ptr< impeller::Context > &context)