Classes | Functions | Variables
imgui_impl_dx11.cpp File Reference
#include "imgui.h"
#include "imgui_impl_dx11.h"
#include <stdio.h>
#include <d3d11.h>
#include <d3dcompiler.h>
Include dependency graph for imgui_impl_dx11.cpp:

Go to the source code of this file.

Classes

struct  VERTEX_CONSTANT_BUFFER
 

Functions

bool ImGui_ImplDX11_CreateDeviceObjects ()
 
static void ImGui_ImplDX11_CreateFontsTexture ()
 
bool ImGui_ImplDX11_Init (ID3D11Device *device, ID3D11DeviceContext *device_context)
 
void ImGui_ImplDX11_InvalidateDeviceObjects ()
 
void ImGui_ImplDX11_NewFrame ()
 
void ImGui_ImplDX11_RenderDrawData (ImDrawData *draw_data)
 
static void ImGui_ImplDX11_SetupRenderState (ImDrawData *draw_data, ID3D11DeviceContext *ctx)
 
void ImGui_ImplDX11_Shutdown ()
 

Variables

static int g_IndexBufferSize = 10000
 
static ID3D11BlendState * g_pBlendState = NULL
 
static ID3D11Device * g_pd3dDevice = NULL
 
static ID3D11DeviceContext * g_pd3dDeviceContext = NULL
 
static ID3D11DepthStencilState * g_pDepthStencilState = NULL
 
static IDXGIFactory * g_pFactory = NULL
 
static ID3D11SamplerState * g_pFontSampler = NULL
 
static ID3D11ShaderResourceView * g_pFontTextureView = NULL
 
static ID3D11Buffer * g_pIB = NULL
 
static ID3D11InputLayout * g_pInputLayout = NULL
 
static ID3D11PixelShader * g_pPixelShader = NULL
 
static ID3D10Blob * g_pPixelShaderBlob = NULL
 
static ID3D11RasterizerState * g_pRasterizerState = NULL
 
static ID3D11Buffer * g_pVB = NULL
 
static ID3D11Buffer * g_pVertexConstantBuffer = NULL
 
static ID3D11VertexShader * g_pVertexShader = NULL
 
static ID3D10Blob * g_pVertexShaderBlob = NULL
 
static int g_VertexBufferSize = 5000
 

Function Documentation

◆ ImGui_ImplDX11_CreateDeviceObjects()

bool ImGui_ImplDX11_CreateDeviceObjects ( )

Definition at line 341 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_CreateFontsTexture()

static void ImGui_ImplDX11_CreateFontsTexture ( )
static

Definition at line 282 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_Init()

bool ImGui_ImplDX11_Init ( ID3D11Device *  device,
ID3D11DeviceContext *  device_context 
)

Definition at line 504 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_InvalidateDeviceObjects()

void ImGui_ImplDX11_InvalidateDeviceObjects ( )

Definition at line 483 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_NewFrame()

void ImGui_ImplDX11_NewFrame ( )

Definition at line 540 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_RenderDrawData()

void ImGui_ImplDX11_RenderDrawData ( ImDrawData draw_data)

Definition at line 100 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_SetupRenderState()

static void ImGui_ImplDX11_SetupRenderState ( ImDrawData draw_data,
ID3D11DeviceContext *  ctx 
)
static

Definition at line 63 of file imgui_impl_dx11.cpp.

◆ ImGui_ImplDX11_Shutdown()

void ImGui_ImplDX11_Shutdown ( )

Definition at line 532 of file imgui_impl_dx11.cpp.

Variable Documentation

◆ g_IndexBufferSize

int g_IndexBufferSize = 10000
static

Definition at line 56 of file imgui_impl_dx11.cpp.

◆ g_pBlendState

ID3D11BlendState* g_pBlendState = NULL
static

Definition at line 54 of file imgui_impl_dx11.cpp.

◆ g_pd3dDevice

ID3D11Device* g_pd3dDevice = NULL
static

Definition at line 40 of file imgui_impl_dx11.cpp.

◆ g_pd3dDeviceContext

ID3D11DeviceContext* g_pd3dDeviceContext = NULL
static

Definition at line 41 of file imgui_impl_dx11.cpp.

◆ g_pDepthStencilState

ID3D11DepthStencilState* g_pDepthStencilState = NULL
static

Definition at line 55 of file imgui_impl_dx11.cpp.

◆ g_pFactory

IDXGIFactory* g_pFactory = NULL
static

Definition at line 42 of file imgui_impl_dx11.cpp.

◆ g_pFontSampler

ID3D11SamplerState* g_pFontSampler = NULL
static

Definition at line 51 of file imgui_impl_dx11.cpp.

◆ g_pFontTextureView

ID3D11ShaderResourceView* g_pFontTextureView = NULL
static

Definition at line 52 of file imgui_impl_dx11.cpp.

◆ g_pIB

ID3D11Buffer* g_pIB = NULL
static

Definition at line 44 of file imgui_impl_dx11.cpp.

◆ g_pInputLayout

ID3D11InputLayout* g_pInputLayout = NULL
static

Definition at line 47 of file imgui_impl_dx11.cpp.

◆ g_pPixelShader

ID3D11PixelShader* g_pPixelShader = NULL
static

Definition at line 50 of file imgui_impl_dx11.cpp.

◆ g_pPixelShaderBlob

ID3D10Blob* g_pPixelShaderBlob = NULL
static

Definition at line 49 of file imgui_impl_dx11.cpp.

◆ g_pRasterizerState

ID3D11RasterizerState* g_pRasterizerState = NULL
static

Definition at line 53 of file imgui_impl_dx11.cpp.

◆ g_pVB

ID3D11Buffer* g_pVB = NULL
static

Definition at line 43 of file imgui_impl_dx11.cpp.

◆ g_pVertexConstantBuffer

ID3D11Buffer* g_pVertexConstantBuffer = NULL
static

Definition at line 48 of file imgui_impl_dx11.cpp.

◆ g_pVertexShader

ID3D11VertexShader* g_pVertexShader = NULL
static

Definition at line 46 of file imgui_impl_dx11.cpp.

◆ g_pVertexShaderBlob

ID3D10Blob* g_pVertexShaderBlob = NULL
static

Definition at line 45 of file imgui_impl_dx11.cpp.

◆ g_VertexBufferSize

int g_VertexBufferSize = 5000
static

Definition at line 56 of file imgui_impl_dx11.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03