 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
25 #include "../../imgui.h"
47 #if !defined(IMGUI_IMPL_OPENGL_ES2) \
48 && !defined(IMGUI_IMPL_OPENGL_ES3) \
49 && !defined(IMGUI_IMPL_OPENGL_LOADER_GL3W) \
50 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLEW) \
51 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLAD) \
52 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLAD2) \
53 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLBINDING2) \
54 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLBINDING3) \
55 && !defined(IMGUI_IMPL_OPENGL_LOADER_CUSTOM)
58 #if defined(__APPLE__)
59 #include "TargetConditionals.h"
61 #if (defined(__APPLE__) && (TARGET_OS_IOS || TARGET_OS_TV)) || (defined(__ANDROID__))
62 #define IMGUI_IMPL_OPENGL_ES3 // iOS, Android -> GL ES 3, "#version 300 es"
63 #elif defined(__EMSCRIPTEN__)
64 #define IMGUI_IMPL_OPENGL_ES2 // Emscripten -> GL ES 2, "#version 100"
67 #elif defined(__has_include)
68 #if __has_include(<glew/glew.h>)
69 #define IMGUI_IMPL_OPENGL_LOADER_GLEW
70 #elif __has_include(<glad/glad.h>)
71 #define IMGUI_IMPL_OPENGL_LOADER_GLAD
72 #elif __has_include(<glad/gl.h>)
73 #define IMGUI_IMPL_OPENGL_LOADER_GLAD2
74 #elif __has_include(<GL/gl3w.h>)
75 #define IMGUI_IMPL_OPENGL_LOADER_GL3W
76 #elif __has_include(<glbinding/glbinding.h>)
77 #define IMGUI_IMPL_OPENGL_LOADER_GLBINDING3
78 #elif __has_include(<glbinding/Binding.h>)
79 #define IMGUI_IMPL_OPENGL_LOADER_GLBINDING2
81 #error "Cannot detect OpenGL loader!"
84 #define IMGUI_IMPL_OPENGL_LOADER_GL3W // Default to GL3W embedded in our repository
@ ImGuiBackendFlags_RendererHasVtxOffset
Definition: imgui.h:1021
ImVector< ImDrawVert > VtxBuffer
Definition: imgui.h:1886
T * begin()
Definition: imgui.h:1252
IMGUI_IMPL_API void ImGui_ImplOpenGL3_NewFrame()
Definition: imgui_impl_opengl3.cpp:238
float x
Definition: imgui.h:194
void resize(int new_size)
Definition: imgui.h:1263
#define IM_UNUSED(_VAR)
Definition: imgui.h:76
IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyFontsTexture()
Definition: imgui_impl_opengl3.cpp:475
void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData *draw_data)
Definition: imgui_impl_opengl3.cpp:312
float z
Definition: imgui.h:194
void ImGui_ImplOpenGL3_DestroyFontsTexture()
Definition: imgui_impl_opengl3.cpp:475
unsigned short ImDrawIdx
Definition: imgui.h:1808
unsigned int IdxOffset
Definition: imgui.h:1797
#define IM_OFFSETOF(_TYPE, _MEMBER)
Definition: imgui.h:80
int CmdListsCount
Definition: imgui.h:1983
void ImGui_ImplOpenGL3_Shutdown()
Definition: imgui_impl_opengl3.cpp:233
bool ImGui_ImplOpenGL3_Init(const char *glsl_version)
Definition: imgui_impl_opengl3.cpp:153
ImGuiBackendFlags BackendFlags
Definition: imgui.h:1345
ImVector< ImDrawCmd > CmdBuffer
Definition: imgui.h:1884
IMGUI_IMPL_API void ImGui_ImplOpenGL3_Shutdown()
Definition: imgui_impl_opengl3.cpp:233
bool ImGui_ImplOpenGL3_CreateDeviceObjects()
Definition: imgui_impl_opengl3.cpp:522
IMGUI_API void GetTexDataAsRGBA32(unsigned char **out_pixels, int *out_width, int *out_height, int *out_bytes_per_pixel=NULL)
Definition: imgui_draw.cpp:1576
float x
Definition: imgui.h:181
ImVec4 ClipRect
Definition: imgui.h:1794
const char * BackendRendererName
Definition: imgui.h:1380
ImFontAtlas * Fonts
Definition: imgui.h:1359
ImDrawList ** CmdLists
Definition: imgui.h:1982
unsigned int VtxOffset
Definition: imgui.h:1796
IMGUI_API ImGuiIO & GetIO()
Definition: imgui.cpp:3300
ImVec2 DisplayPos
Definition: imgui.h:1986
ImVector< ImDrawIdx > IdxBuffer
Definition: imgui.h:1885
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateFontsTexture()
Definition: imgui_impl_opengl3.cpp:446
ImTextureID TextureId
Definition: imgui.h:1795
#define IM_ARRAYSIZE(_ARR)
Definition: imgui.h:75
void * ImTextureID
Definition: imgui.h:123
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateDeviceObjects()
Definition: imgui_impl_opengl3.cpp:522
float w
Definition: imgui.h:194
ImDrawCallback UserCallback
Definition: imgui.h:1798
float y
Definition: imgui.h:181
ImTextureID TexID
Definition: imgui.h:2155
#define IMGUI_IMPL_API
Definition: imgui.h:60
_W64 int intptr_t
Definition: stdint.h:43
float y
Definition: imgui.h:194
void ImGui_ImplOpenGL3_DestroyDeviceObjects()
Definition: imgui_impl_opengl3.cpp:702
void ImGui_ImplOpenGL3_NewFrame()
Definition: imgui_impl_opengl3.cpp:238
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_Init(const char *glsl_version=NULL)
Definition: imgui_impl_opengl3.cpp:153
IMGUI_IMPL_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData *draw_data)
Definition: imgui_impl_opengl3.cpp:312
ImVec2 DisplaySize
Definition: imgui.h:1987
int Size
Definition: imgui.h:1229
#define ImDrawCallback_ResetRenderState
Definition: imgui.h:1786
ImVec2 FramebufferScale
Definition: imgui.h:1988
#define IM_ASSERT(_EXPR)
Definition: imgui.h:66
bool ImGui_ImplOpenGL3_CreateFontsTexture()
Definition: imgui_impl_opengl3.cpp:446
unsigned int ElemCount
Definition: imgui.h:1793
T * Data
Definition: imgui.h:1231
IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyDeviceObjects()
Definition: imgui_impl_opengl3.cpp:702