Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
imgui_impl_dx11.h
Go to the documentation of this file.
1 // dear imgui: Renderer for DirectX11
2 // This needs to be used along with a Platform Binding (e.g. Win32)
3 
4 // Implemented features:
5 // [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID in imgui.cpp.
6 // [X] Renderer: Support for large meshes (64k+ vertices) with 16-bits indices.
7 
8 // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this.
9 // If you are new to dear imgui, read examples/README.txt and read the documentation at the top of imgui.cpp.
10 // https://github.com/ocornut/imgui
11 
12 #pragma once
13 
14 struct ID3D11Device;
15 struct ID3D11DeviceContext;
16 
17 IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context);
21 
22 // Use if you want to reset your rendering device without losing ImGui state.
ImGuiBackendFlags_RendererHasVtxOffset
@ ImGuiBackendFlags_RendererHasVtxOffset
Definition: imgui.h:1021
ImDrawList::VtxBuffer
ImVector< ImDrawVert > VtxBuffer
Definition: imgui.h:1886
ImVec4::x
float x
Definition: imgui.h:194
ImGui_ImplDX11_InvalidateDeviceObjects
void ImGui_ImplDX11_InvalidateDeviceObjects()
Definition: imgui_impl_dx11.cpp:483
width
int width
Definition: bgfx.cpp:19
ImVec4::z
float z
Definition: imgui.h:194
ImDrawData::TotalVtxCount
int TotalVtxCount
Definition: imgui.h:1985
ImGui_ImplDX11_NewFrame
void ImGui_ImplDX11_NewFrame()
Definition: imgui_impl_dx11.cpp:540
ImGui_ImplDX11_Init
IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition: imgui_impl_dx11.cpp:504
ImGui_ImplDX11_Shutdown
void ImGui_ImplDX11_Shutdown()
Definition: imgui_impl_dx11.cpp:532
ImDrawIdx
unsigned short ImDrawIdx
Definition: imgui.h:1808
ImDrawCmd::IdxOffset
unsigned int IdxOffset
Definition: imgui.h:1797
imgui_impl_dx11.h
ImDrawData::CmdListsCount
int CmdListsCount
Definition: imgui.h:1983
ImGuiIO::BackendFlags
ImGuiBackendFlags BackendFlags
Definition: imgui.h:1345
ImDrawList::CmdBuffer
ImVector< ImDrawCmd > CmdBuffer
Definition: imgui.h:1884
ImGuiIO
Definition: imgui.h:1338
ImDrawList
Definition: imgui.h:1881
ImFontAtlas::GetTexDataAsRGBA32
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
ImVec2::x
float x
Definition: imgui.h:181
ImDrawCmd::ClipRect
ImVec4 ClipRect
Definition: imgui.h:1794
ImGui_ImplDX11_CreateDeviceObjects
bool ImGui_ImplDX11_CreateDeviceObjects()
Definition: imgui_impl_dx11.cpp:341
ImVec2
Definition: imgui.h:179
NULL
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
ImGuiIO::BackendRendererName
const char * BackendRendererName
Definition: imgui.h:1380
ImGuiIO::Fonts
ImFontAtlas * Fonts
Definition: imgui.h:1359
ImGui_ImplDX11_Shutdown
IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown()
Definition: imgui_impl_dx11.cpp:532
ImDrawData::CmdLists
ImDrawList ** CmdLists
Definition: imgui.h:1982
ImDrawCmd::VtxOffset
unsigned int VtxOffset
Definition: imgui.h:1796
ImGui::GetIO
IMGUI_API ImGuiIO & GetIO()
Definition: imgui.cpp:3300
ImDrawData::DisplayPos
ImVec2 DisplayPos
Definition: imgui.h:1986
ImGui_ImplDX11_NewFrame
IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame()
Definition: imgui_impl_dx11.cpp:540
ImGui_ImplDX11_RenderDrawData
IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData *draw_data)
Definition: imgui_impl_dx11.cpp:100
ImDrawList::IdxBuffer
ImVector< ImDrawIdx > IdxBuffer
Definition: imgui.h:1885
ImGui_ImplDX11_Init
bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition: imgui_impl_dx11.cpp:504
ImGui_ImplDX11_InvalidateDeviceObjects
IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects()
Definition: imgui_impl_dx11.cpp:483
ImDrawCmd
Definition: imgui.h:1791
ImDrawCmd::TextureId
ImTextureID TextureId
Definition: imgui.h:1795
ImTextureID
void * ImTextureID
Definition: imgui.h:123
ImDrawData
Definition: imgui.h:1979
ImGui_ImplDX11_CreateDeviceObjects
IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects()
Definition: imgui_impl_dx11.cpp:341
VERTEX_CONSTANT_BUFFER
Definition: imgui_impl_dx11.cpp:58
height
int height
Definition: bgfx.cpp:20
ImVec4::w
float w
Definition: imgui.h:194
ImDrawCmd::UserCallback
ImDrawCallback UserCallback
Definition: imgui.h:1798
ImVec2::y
float y
Definition: imgui.h:181
ImFontAtlas::TexID
ImTextureID TexID
Definition: imgui.h:2155
IMGUI_IMPL_API
#define IMGUI_IMPL_API
Definition: imgui.h:60
ImGui_ImplDX11_RenderDrawData
void ImGui_ImplDX11_RenderDrawData(ImDrawData *draw_data)
Definition: imgui_impl_dx11.cpp:100
ImVec4::y
float y
Definition: imgui.h:194
ImDrawData::DisplaySize
ImVec2 DisplaySize
Definition: imgui.h:1987
ImVector::Size
int Size
Definition: imgui.h:1229
ImDrawCallback_ResetRenderState
#define ImDrawCallback_ResetRenderState
Definition: imgui.h:1786
ImDrawVert
Definition: imgui.h:1813
ImDrawCmd::ElemCount
unsigned int ElemCount
Definition: imgui.h:1793
ImVector::Data
T * Data
Definition: imgui.h:1231
ImDrawData::TotalIdxCount
int TotalIdxCount
Definition: imgui.h:1984
VERTEX_CONSTANT_BUFFER::mvp
float mvp[4][4]
Definition: imgui_impl_dx11.cpp:60