Flutter Engine
The Flutter Engine
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
12namespace impeller {
13
14class Context;
15class RenderPass;
16
17} // namespace impeller
18
19IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(
20 const std::shared_ptr<impeller::Context>& context);
21
22IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown();
23
24IMGUI_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_
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:33
IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown()
IMGUI_IMPL_API bool ImGui_ImplImpeller_Init(const std::shared_ptr< impeller::Context > &context)
IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData(ImDrawData *draw_data, impeller::RenderPass &renderpass)