#include <memory>
#include "third_party/imgui/imgui.h"
Go to the source code of this file.
Namespaces | |
impeller | |
Functions | |
IMGUI_IMPL_API bool | ImGui_ImplImpeller_Init (const std::shared_ptr< impeller::Context > &context) |
IMGUI_IMPL_API void | ImGui_ImplImpeller_Shutdown () |
IMGUI_IMPL_API void | ImGui_ImplImpeller_RenderDrawData (ImDrawData *draw_data, impeller::RenderPass &renderpass) |
IMGUI_IMPL_API bool ImGui_ImplImpeller_Init | ( | const std::shared_ptr< impeller::Context > & | context | ) |
Definition at line 56 of file imgui_impl_impeller.cc.
References impeller::kHostVisible, impeller::kR8G8B8A8UNormInt, and impeller::TextureDescriptor::storage_mode.
Referenced by impeller::Playground::OpenPlaygroundHere().
IMGUI_IMPL_API void ImGui_ImplImpeller_RenderDrawData | ( | ImDrawData * | draw_data, |
impeller::RenderPass & | renderpass | ||
) |
Definition at line 126 of file imgui_impl_impeller.cc.
References impeller::BufferView::buffer, impeller::HostBuffer::Create(), impeller::RenderPass::Draw(), impeller::RenderPass::GetContext(), impeller::RenderPass::GetRenderTargetSize(), ImGui_ImplImpeller_GetBackendData(), impeller::VertexBuffer::index_buffer, impeller::VertexBuffer::index_type, impeller::k16bit, impeller::kHostVisible, impeller::TRect< Scalar >::MakeLTRB(), impeller::Matrix::MakeOrthographic(), impeller::TRect< Scalar >::MakeSize(), impeller::TRect< Scalar >::MakeXYWH(), impeller::Viewport::rect, impeller::TRect< int64_t >::RoundOut(), impeller::TRect< T >::Scale(), impeller::RenderPass::SetBaseVertex(), impeller::RenderPass::SetCommandLabel(), impeller::RenderPass::SetPipeline(), impeller::RenderPass::SetScissor(), impeller::RenderPass::SetVertexBuffer(), impeller::RenderPass::SetViewport(), impeller::DeviceBufferDescriptor::size, impeller::SPrintF(), impeller::DeviceBufferDescriptor::storage_mode, impeller::Matrix::Translate(), impeller::VertexBuffer::vertex_buffer, and impeller::VertexBuffer::vertex_count.
Referenced by impeller::Playground::OpenPlaygroundHere().
IMGUI_IMPL_API void ImGui_ImplImpeller_Shutdown | ( | ) |
Definition at line 119 of file imgui_impl_impeller.cc.
References ImGui_ImplImpeller_GetBackendData().
Referenced by impeller::Playground::OpenPlaygroundHere().