|
| static bool | isUsingMouse () |
| | Tests whether any ImGui control is being interacted with, or if the mouse is over an ImGui window or control.
|
| |
| static bool | isUsingKeyboard () |
| | Tests whether any ImGui control is currently accepting text input.
|
| |
| static void | setClipboardCallbacks (GetClipboardTextFn getter, SetClipboardTextFn setter) |
| |
Definition at line 67 of file ImguiRenderer.h.
◆ addRangeToGlyphBuilder()
| void Cogs::Core::ImguiRenderer::addRangeToGlyphBuilder |
( |
const ImWchar * |
ranges | ) |
|
◆ addTextToGlyphBuilder()
| void Cogs::Core::ImguiRenderer::addTextToGlyphBuilder |
( |
const char * |
text | ) |
|
◆ cleanup()
| void Cogs::Core::ImguiRenderer::cleanup |
( |
| ) |
|
◆ createGuiContext()
| ImGuiContext * Cogs::Core::ImguiRenderer::createGuiContext |
( |
| ) |
|
◆ createResources()
| bool Cogs::Core::ImguiRenderer::createResources |
( |
| ) |
|
|
private |
◆ createSampler()
| void Cogs::Core::ImguiRenderer::createSampler |
( |
| ) |
|
|
private |
◆ deleteGuiContext()
| void Cogs::Core::ImguiRenderer::deleteGuiContext |
( |
ImGuiContext * |
guiContext | ) |
|
◆ frame()
| void Cogs::Core::ImguiRenderer::frame |
( |
ImGuiContext * |
guiContext, |
|
|
ViewContext & |
view, |
|
|
bool |
updateio = true |
|
) |
| |
◆ getLoadedRanges()
| ImVector< ImWchar > Cogs::Core::ImguiRenderer::getLoadedRanges |
( |
| ) |
|
|
inline |
◆ initialize()
| bool Cogs::Core::ImguiRenderer::initialize |
( |
Context * |
context | ) |
|
◆ isUsingKeyboard()
| bool Cogs::Core::ImguiRenderer::isUsingKeyboard |
( |
| ) |
|
|
static |
Tests whether any ImGui control is currently accepting text input.
If this function returns true, the calling application should not process key input for non-UI purposes.
If this function returns true, the calling application should not process key input for non-UI purposes. *============================================================================================
Definition at line 247 of file ImguiRenderer.cpp.
◆ isUsingMouse()
| bool Cogs::Core::ImguiRenderer::isUsingMouse |
( |
| ) |
|
|
static |
Tests whether any ImGui control is being interacted with, or if the mouse is over an ImGui window or control.
If this function returns true, do not use the mouse for application input.
If this function returns true, do not use the mouse for application input. *============================================================================================
Definition at line 234 of file ImguiRenderer.cpp.
◆ render()
| void Cogs::Core::ImguiRenderer::render |
( |
| ) |
|
◆ setClipboardCallbacks()
| void Cogs::Core::ImguiRenderer::setClipboardCallbacks |
( |
GetClipboardTextFn |
getter, |
|
|
SetClipboardTextFn |
setter |
|
) |
| |
|
static |
◆ style()
| void Cogs::Core::ImguiRenderer::style |
( |
| ) |
|
◆ updateConstantBuffer()
| void Cogs::Core::ImguiRenderer::updateConstantBuffer |
( |
IContext * |
deviceContext, |
|
|
uint32_t |
mode |
|
) |
| |
|
private |
◆ blendState
◆ constantBuffer
◆ context
| Context* Cogs::Core::ImguiRenderer::context = nullptr |
|
private |
◆ depthState
◆ device
◆ dummyTex2D
◆ dummyTex2DArray
◆ dummyTex2DMS
◆ dummyTexCube
◆ effect
◆ fontGlyphBuilder
| ImFontGlyphRangesBuilder Cogs::Core::ImguiRenderer::fontGlyphBuilder |
|
private |
◆ fontRegistry
◆ format
◆ getClipboardTextFn
| GetClipboardTextFn Cogs::Core::ImguiRenderer::getClipboardTextFn = nullptr |
|
staticprivate |
◆ imguiContext
| ImGuiContext* Cogs::Core::ImguiRenderer::imguiContext = nullptr |
|
private |
◆ indexBuffer
◆ indexBufferSize
| int Cogs::Core::ImguiRenderer::indexBufferSize = 10000 |
|
private |
◆ inputLayout
◆ loadedRanges
| ImVector<ImWchar> Cogs::Core::ImguiRenderer::loadedRanges |
|
private |
◆ mode
| uint32_t Cogs::Core::ImguiRenderer::mode = GUI_MODE_DEFAULT |
|
private |
◆ rasterizerState
◆ sampler
◆ setClipboardTextFn
| SetClipboardTextFn Cogs::Core::ImguiRenderer::setClipboardTextFn = nullptr |
|
staticprivate |
◆ timer
| Timer Cogs::Core::ImguiRenderer::timer |
|
private |
◆ touchPointerHeld
| bool Cogs::Core::ImguiRenderer::touchPointerHeld = false |
|
private |
◆ touchPointerPosition
| glm::vec2 Cogs::Core::ImguiRenderer::touchPointerPosition = { 0.0f, 0.0f } |
|
private |
◆ updateLoadedRanges
| bool Cogs::Core::ImguiRenderer::updateLoadedRanges = false |
|
private |
◆ vertexBuffer
◆ vertexBufferSize
| int Cogs::Core::ImguiRenderer::vertexBufferSize = 5000 |
|
private |
The documentation for this class was generated from the following files: