Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
imgui.h File Reference
#include <bgfx/bgfx.h>
#include "components/3rdparty/imgui/imgui.h"
+ Include dependency graph for imgui.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 bx
 
 entry
 
 ImGui
 

Macros

#define IMGUI_MBUT_LEFT   0x01
 
#define IMGUI_MBUT_RIGHT   0x02
 
#define IMGUI_MBUT_MIDDLE   0x04
 
#define IMGUI_FLAGS_NONE   UINT8_C(0x00)
 
#define IMGUI_FLAGS_ALPHA_BLEND   UINT8_C(0x01)
 

Functions

uint32_t imguiRGBA (uint8_t _r, uint8_t _g, uint8_t _b, uint8_t _a=255)
 
void imguiCreate (float _fontSize=18.0f, bx::AllocatorI *_allocator=NULL)
 
void imguiDestroy ()
 
void imguiBeginFrame (int32_t _mx, int32_t _my, uint8_t _button, int32_t _scroll, uint16_t _width, uint16_t _height, int _inputChar=-1, bgfx::ViewId _view=255)
 
void imguiEndFrame ()
 
void imguiCreateFontAtlas ()
 
void showExampleDialog (entry::AppI *_app, const char *_errorText=NULL)
 
ImTextureID ImGui::toId (bgfx::TextureHandle _handle, uint8_t _flags, uint8_t _mip)
 
void ImGui::Image (bgfx::TextureHandle _handle, uint8_t _flags, uint8_t _mip, const ImVec2 &_size, const ImVec2 &_uv0=ImVec2(0.0f, 0.0f), const ImVec2 &_uv1=ImVec2(1.0f, 1.0f), const ImVec4 &_tintCol=ImVec4(1.0f, 1.0f, 1.0f, 1.0f), const ImVec4 &_borderCol=ImVec4(0.0f, 0.0f, 0.0f, 0.0f))
 
void ImGui::Image (bgfx::TextureHandle _handle, const ImVec2 &_size, const ImVec2 &_uv0=ImVec2(0.0f, 0.0f), const ImVec2 &_uv1=ImVec2(1.0f, 1.0f), const ImVec4 &_tintCol=ImVec4(1.0f, 1.0f, 1.0f, 1.0f), const ImVec4 &_borderCol=ImVec4(0.0f, 0.0f, 0.0f, 0.0f))
 
bool ImGui::ImageButton (bgfx::TextureHandle _handle, uint8_t _flags, uint8_t _mip, const ImVec2 &_size, const ImVec2 &_uv0=ImVec2(0.0f, 0.0f), const ImVec2 &_uv1=ImVec2(1.0f, 1.0f), const ImVec4 &_bgCol=ImVec4(0.0f, 0.0f, 0.0f, 0.0f), const ImVec4 &_tintCol=ImVec4(1.0f, 1.0f, 1.0f, 1.0f))
 
bool ImGui::ImageButton (bgfx::TextureHandle _handle, const ImVec2 &_size, const ImVec2 &_uv0=ImVec2(0.0f, 0.0f), const ImVec2 &_uv1=ImVec2(1.0f, 1.0f), const ImVec4 &_bgCol=ImVec4(0.0f, 0.0f, 0.0f, 0.0f), const ImVec4 &_tintCol=ImVec4(1.0f, 1.0f, 1.0f, 1.0f))
 
void ImGui::NextLine ()
 
bool ImGui::MouseOverArea ()
 
void ImGui::PushEnabled (bool _enabled)
 
void ImGui::PopEnabled ()
 

Macro Definition Documentation

◆ IMGUI_FLAGS_ALPHA_BLEND

#define IMGUI_FLAGS_ALPHA_BLEND   UINT8_C(0x01)

◆ IMGUI_FLAGS_NONE

#define IMGUI_FLAGS_NONE   UINT8_C(0x00)

◆ IMGUI_MBUT_LEFT

#define IMGUI_MBUT_LEFT   0x01

◆ IMGUI_MBUT_MIDDLE

#define IMGUI_MBUT_MIDDLE   0x04

◆ IMGUI_MBUT_RIGHT

#define IMGUI_MBUT_RIGHT   0x02

Function Documentation

◆ imguiBeginFrame()

void imguiBeginFrame ( int32_t  _mx,
int32_t  _my,
uint8_t  _button,
int32_t  _scroll,
uint16_t  _width,
uint16_t  _height,
int  _inputChar = -1,
bgfx::ViewId  _view = 255 
)

◆ imguiCreate()

void imguiCreate ( float  _fontSize = 18.0f,
bx::AllocatorI *  _allocator = NULL 
)
+ Here is the caller graph for this function:

◆ imguiCreateFontAtlas()

void imguiCreateFontAtlas ( )
+ Here is the caller graph for this function:

◆ imguiDestroy()

void imguiDestroy ( )
+ Here is the caller graph for this function:

◆ imguiEndFrame()

void imguiEndFrame ( )
+ Here is the caller graph for this function:

◆ imguiRGBA()

uint32_t imguiRGBA ( uint8_t  _r,
uint8_t  _g,
uint8_t  _b,
uint8_t  _a = 255 
)
inline

◆ showExampleDialog()

void showExampleDialog ( entry::AppI *  _app,
const char *  _errorText = NULL 
)