Elaztek Developer Hub
Blamite Game Engine - blam!  00423.10.27.24.0533.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.
ImFontAtlas::AddFontDefault
IMGUI_API ImFont * AddFontDefault(const ImFontConfig *font_cfg=NULL)
Definition: imgui_draw.cpp:1648
ImGuiBackendFlags_RendererHasVtxOffset
@ ImGuiBackendFlags_RendererHasVtxOffset
Definition: imgui.h:1021
ImDrawList::VtxBuffer
ImVector< ImDrawVert > VtxBuffer
Definition: imgui.h:1886
ImFontAtlas::AddFontFromMemoryCompressedTTF
IMGUI_API ImFont * AddFontFromMemoryCompressedTTF(const void *compressed_font_data, int compressed_font_size, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
Definition: imgui_draw.cpp:1704
ImVec4::x
float x
Definition: imgui.h:194
ImGui_ImplDX11_InvalidateDeviceObjects
void ImGui_ImplDX11_InvalidateDeviceObjects()
Definition: imgui_impl_dx11.cpp:483
stb_out
#define stb_out(v)
Definition: binary_to_compressed_c.cpp:177
ImFont::DisplayOffset
ImVec2 DisplayOffset
Definition: imgui.h:2191
Encode85Byte
char Encode85Byte(unsigned int x)
Definition: binary_to_compressed_c.cpp:49
ImVec4::z
float z
Definition: imgui.h:194
size_pixels
Add a fourth parameter to bake specific font ranges size_pixels
Definition: README.txt:57
ImDrawData::TotalVtxCount
int TotalVtxCount
Definition: imgui.h:1985
ImGui_ImplDX11_NewFrame
void ImGui_ImplDX11_NewFrame()
Definition: imgui_impl_dx11.cpp:540
version
date New version
Definition: chiropteraDM.txt:50
ImGui_ImplDX11_Init
IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition: imgui_impl_dx11.cpp:504
ImFontAtlas::AddFontFromMemoryCompressedBase85TTF
IMGUI_API ImFont * AddFontFromMemoryCompressedBase85TTF(const char *compressed_font_data_base85, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
Definition: imgui_draw.cpp:1716
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
ImFontConfig
Definition: imgui.h:2002
ImDrawData::CmdListsCount
int CmdListsCount
Definition: imgui.h:1983
Foucaut
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette Foucaut
Definition: README.txt:8
ImGuiIO::BackendFlags
ImGuiBackendFlags BackendFlags
Definition: imgui.h:1345
ImDrawList::CmdBuffer
ImVector< ImDrawCmd > CmdBuffer
Definition: imgui.h:1884
ImDrawList
Definition: imgui.h:1881
ImGuiIO
Definition: imgui.h:1338
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
BlamEngineDataFolder::Fonts
@ Fonts
Directory used for game engine fonts. Defaults to ./maps/fonts/
ImVec2::x
float x
Definition: imgui.h:181
config
ImFontConfig config
Definition: README.txt:49
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
ImFont
Definition: imgui.h:2180
ImGuiIO::BackendRendererName
const char * BackendRendererName
Definition: imgui.h:1380
STB__TRY
#define STB__TRY(t, p)
ImGuiIO::Fonts
ImFontAtlas * Fonts
Definition: imgui.h:1359
stb_uint
unsigned int stb_uint
Definition: binary_to_compressed_c.cpp:17
ImGui_ImplDX11_Shutdown
IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown()
Definition: imgui_impl_dx11.cpp:532
that
b output the Images to a print format other than for collateral and the you may copy and distribute your animations and renderings incorporating the Images All other rights with respect to the Images and their use are reserved to Company The Images are protected by United States copyright international treaty and other laws TERM You may use the Images for incorporation in a single product or or for visualization purposes within a single project of duration not more than three years INFRINGEMENT WARRANTY NVIDIA warrants to you that
Definition: TextureUsageAgreement.txt:16
ImDrawData::CmdLists
ImDrawList ** CmdLists
Definition: imgui.h:1982
with
Load TTF file with
Definition: README.txt:22
ImGui
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in ImGui
Definition: README.txt:109
ImDrawCmd::VtxOffset
unsigned int VtxOffset
Definition: imgui.h:1796
stb_compress
stb_uint stb_compress(stb_uchar *out, stb_uchar *in, stb_uint len)
Definition: binary_to_compressed_c.cpp:362
NULL
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
License
The MIT License(MIT) Copyright(c) 2014-2019 Omar Cornut Permission is hereby granted
ImGui::GetIO
IMGUI_API ImGuiIO & GetIO()
Definition: imgui.cpp:3300
one
If you have very large number of glyphs or multiple e g config consider calculating them based on your source data if this is possible Combine two fonts into one
Definition: README.txt:43
a
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1249
ImFontAtlas::Build
IMGUI_API bool Build()
Definition: imgui_draw.cpp:1785
files
The MIT free of to any person obtaining a copy of this software and associated documentation files(the "Software")
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
http
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version http
Definition: README.txt:107
ImGui_ImplDX11_Init
bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition: imgui_impl_dx11.cpp:504
merge
The MIT free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to merge
Definition: LICENSE.txt:8
Copyright
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf Copyright(c) Steve Matteson Apache License
ImGui_ImplDX11_InvalidateDeviceObjects
IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects()
Definition: imgui_impl_dx11.cpp:483
discord::Version
std::int32_t Version
Definition: types.h:196
ImDrawCmd
Definition: imgui.h:1791
ImDrawCmd::TextureId
ImTextureID TextureId
Definition: imgui.h:1795
ImFontConfig::MergeMode
bool MergeMode
Definition: imgui.h:2017
file
sock planetquake com All rights reserved Quake III Arena is a registered trademark of id Inc This level may be electronically distributed only at NO CHARGE to the recipient in its current MUST include this txt file
Definition: chiropteraDM.txt:95
ImFontAtlas::AddFontFromFileTTF
IMGUI_API ImFont * AddFontFromFileTTF(const char *filename, float size_pixels, const ImFontConfig *font_cfg=NULL, const ImWchar *glyph_ranges=NULL)
Definition: imgui_draw.cpp:1669
ImWchar
unsigned short ImWchar
Definition: imgui.h:131
ImFontConfig::GlyphExtraSpacing
ImVec2 GlyphExtraSpacing
Definition: imgui.h:2012
value
Offset font vertically by altering the io Font DisplayOffset value
Definition: README.txt:67
ImTextureID
void * ImTextureID
Definition: imgui.h:123
ImDrawData
Definition: imgui.h:1979
stb_uchar
unsigned char stb_uchar
Definition: binary_to_compressed_c.cpp:18
stb__hc2
#define stb__hc2(q, h, c, d)
Definition: binary_to_compressed_c.cpp:217
ImFontAtlas::TexDesiredWidth
int TexDesiredWidth
Definition: imgui.h:2156
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
copy
The original diffuse textures are from the NVIDIA texture with other maps generated from them by Steve Streeting The following license applies to all textures Single Product or Project Use of NVSDK Art Imagery THIS IS A LEGAL immediately delete the NVSDK Art Imagery from your hard disk If you proceed to use any of the you thereby signify that you have agreed to all of the terms and conditions set forth below You may not copy
Definition: TextureUsageAgreement.txt:6
only
Add a fourth parameter to bake specific font ranges only
Definition: README.txt:57
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
ImFontConfig::OversampleV
int OversampleV
Definition: imgui.h:2010
codepoints
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts codepoints
Definition: README.txt:8
options
Detailed options
Definition: README.txt:27
IMGUI_IMPL_API
#define IMGUI_IMPL_API
Definition: imgui.h:60
use
The original diffuse textures are from the NVIDIA texture with other maps generated from them by Steve Streeting The following license applies to all textures Single Product or Project Use of NVSDK Art Imagery THIS IS A LEGAL immediately delete the NVSDK Art Imagery from your hard disk If you proceed to use any of the you thereby signify that you have agreed to all of the terms and conditions set forth below You may not use
Definition: TextureUsageAgreement.txt:6
copyright
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data copyright(c) 2010 Google Corporation. Licensed under the SIL Open Font License
ImGui_ImplDX11_RenderDrawData
void ImGui_ImplDX11_RenderDrawData(ImDrawData *draw_data)
Definition: imgui_impl_dx11.cpp:100
provided
provided
Definition: TextureUsageAgreement.txt:16
convenience
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a convenience
Definition: README.txt:3
will
date New Shallow[BAP] Thanks from and for his item placement Zed the best gf spog auhsan for it will be for the next map just for being and all at TF cool_ber for being will
Definition: chiropteraDM.txt:70
x
config GlyphExtraSpacing x
Definition: README.txt:30
ImVec4::y
float y
Definition: imgui.h:194
fonts
If you have very large number of glyphs or multiple fonts
Definition: README.txt:37
ImFontAtlas::GetGlyphRangesDefault
const IMGUI_API ImWchar * GetGlyphRangesDefault()
Definition: imgui_draw.cpp:2225
ImFontConfig::OversampleH
int OversampleH
Definition: imgui.h:2009
main
int main(int argc, char **argv)
Definition: binary_to_compressed_c.cpp:23
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
ImFontAtlas::GetGlyphRangesJapanese
const IMGUI_API ImWchar * GetGlyphRangesJapanese()
Definition: imgui_draw.cpp:2343
font
io.Fonts->AddFontFromMemoryCompressedTTF(compressed_data, compressed_data_size, size_pixels,...) font
Definition: README.txt:86
ImDrawVert
Definition: imgui.h:1813
from
Blam::Endpoint from
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:71
ImDrawCmd::ElemCount
unsigned int ElemCount
Definition: imgui.h:1793
ImVector::Data
T * Data
Definition: imgui.h:1231
https
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette at https
Definition: README.txt:17
ImDrawData::TotalIdxCount
int TotalIdxCount
Definition: imgui.h:1984
stb__hc3
#define stb__hc3(q, c, d, e)
Definition: binary_to_compressed_c.cpp:218
VERTEX_CONSTANT_BUFFER::mvp
float mvp[4][4]
Definition: imgui_impl_dx11.cpp:60
STB__SCRAMBLE
#define STB__SCRAMBLE(h)
source
const CharType(& source)[N]
Definition: pointer.h:1272