载入中...
搜索中...
未找到
eve::ui::ImGuiBackend类 参考final

Dear ImGui + SDL input + Vulkan present overlay. 更多...

#include <ImGuiBackend.h>

类 eve::ui::ImGuiBackend 继承关系图:
eve::ui::UIBackend

Public 成员函数

 ImGuiBackend ()=default
 Constructs a ImGuiBackend.
 
 ~ImGuiBackend () override
 Releases ImGuiBackend resources.
 
 ImGuiBackend (const ImGuiBackend &)=delete
 
ImGuiBackend & operator= (const ImGuiBackend &)=delete
 
bool init (SDL_Window *window, eve::graphics::Graphics *gfx) override
 Initializes .
 
void shutdown () override
 Shutdown.
 
bool isInitialized () const override
 True when initialized.
 
void processEvent (const SDL_Event *event) override
 Process event.
 
void newFrame () override
 Creates a frame. @ownership Caller deletes unless documented otherwise.
 
bool wantCaptureMouse () const override
 Want capture mouse.
 
bool wantCaptureKeyboard () const override
 Want capture keyboard.
 
void setScale (float scale) override
 Sets the scale.
 
float getScale () const override
 Returns the scale.
 
- Public 成员函数 继承自 eve::ui::UIBackend
virtual ~UIBackend ()=default
 Releases UIBackend resources.
 

详细描述

Dear ImGui + SDL input + Vulkan present overlay.

在文件 ImGuiBackend.h 第 15 行定义.

构造及析构函数说明

◆ ImGuiBackend() [1/2]

eve::ui::ImGuiBackend::ImGuiBackend ( )
default

Constructs a ImGuiBackend.

◆ ~ImGuiBackend()

eve::ui::ImGuiBackend::~ImGuiBackend ( )
override

Releases ImGuiBackend resources.

在文件 ImGuiBackend.cpp 第 171 行定义.

引用了 shutdown().

◆ ImGuiBackend() [2/2]

eve::ui::ImGuiBackend::ImGuiBackend ( const ImGuiBackend &  )
delete

成员函数说明

◆ getScale()

float eve::ui::ImGuiBackend::getScale ( ) const
inlineoverridevirtual

Returns the scale.

重载 eve::ui::UIBackend .

在文件 ImGuiBackend.h 第 45 行定义.

◆ init()

◆ isInitialized()

bool eve::ui::ImGuiBackend::isInitialized ( ) const
inlineoverridevirtual

True when initialized.

实现了 eve::ui::UIBackend.

在文件 ImGuiBackend.h 第 30 行定义.

◆ newFrame()

void eve::ui::ImGuiBackend::newFrame ( )
overridevirtual

Creates a frame. @ownership Caller deletes unless documented otherwise.

实现了 eve::ui::UIBackend.

在文件 ImGuiBackend.cpp 第 340 行定义.

引用了 ImGui_ImplWGPU_NewFrame() , 以及 eve::graphics::Graphics::setPresentOverlay().

◆ operator=()

ImGuiBackend & eve::ui::ImGuiBackend::operator= ( const ImGuiBackend &  )
delete

◆ processEvent()

void eve::ui::ImGuiBackend::processEvent ( const SDL_Event *  event)
overridevirtual

Process event.

实现了 eve::ui::UIBackend.

在文件 ImGuiBackend.cpp 第 335 行定义.

◆ setScale()

void eve::ui::ImGuiBackend::setScale ( float  scale)
overridevirtual

Sets the scale.

重载 eve::ui::UIBackend .

在文件 ImGuiBackend.cpp 第 370 行定义.

引用了 scale.

◆ shutdown()

void eve::ui::ImGuiBackend::shutdown ( )
overridevirtual

◆ wantCaptureKeyboard()

bool eve::ui::ImGuiBackend::wantCaptureKeyboard ( ) const
overridevirtual

Want capture keyboard.

重载 eve::ui::UIBackend .

在文件 ImGuiBackend.cpp 第 689 行定义.

◆ wantCaptureMouse()

bool eve::ui::ImGuiBackend::wantCaptureMouse ( ) const
overridevirtual

Want capture mouse.

重载 eve::ui::UIBackend .

在文件 ImGuiBackend.cpp 第 684 行定义.


该类的文档由以下文件生成: