#include "imgui.h"
#include "imgui_impl_dx12.h"
#include <d3d12.h>
#include <dxgi1_4.h>
#include <d3dcompiler.h>
Go to the source code of this file.
◆ ImGui_ImplDX12_CreateDeviceObjects()
bool ImGui_ImplDX12_CreateDeviceObjects |
( |
| ) |
|
◆ ImGui_ImplDX12_CreateFontsTexture()
static void ImGui_ImplDX12_CreateFontsTexture |
( |
| ) |
|
|
static |
◆ ImGui_ImplDX12_Init()
bool ImGui_ImplDX12_Init |
( |
ID3D12Device * |
device, |
|
|
int |
num_frames_in_flight, |
|
|
DXGI_FORMAT |
rtv_format, |
|
|
ID3D12DescriptorHeap * |
cbv_srv_heap, |
|
|
D3D12_CPU_DESCRIPTOR_HANDLE |
font_srv_cpu_desc_handle, |
|
|
D3D12_GPU_DESCRIPTOR_HANDLE |
font_srv_gpu_desc_handle |
|
) |
| |
◆ ImGui_ImplDX12_InvalidateDeviceObjects()
void ImGui_ImplDX12_InvalidateDeviceObjects |
( |
| ) |
|
◆ ImGui_ImplDX12_NewFrame()
void ImGui_ImplDX12_NewFrame |
( |
| ) |
|
◆ ImGui_ImplDX12_RenderDrawData()
void ImGui_ImplDX12_RenderDrawData |
( |
ImDrawData * |
draw_data, |
|
|
ID3D12GraphicsCommandList * |
ctx |
|
) |
| |
◆ ImGui_ImplDX12_SetupRenderState()
◆ ImGui_ImplDX12_Shutdown()
void ImGui_ImplDX12_Shutdown |
( |
| ) |
|
◆ SafeRelease()
template<typename T >
static void SafeRelease |
( |
T *& |
res | ) |
|
|
static |
◆ g_frameIndex
UINT g_frameIndex = UINT_MAX |
|
static |
◆ g_hFontSrvCpuDescHandle
D3D12_CPU_DESCRIPTOR_HANDLE g_hFontSrvCpuDescHandle = {} |
|
static |
◆ g_hFontSrvGpuDescHandle
D3D12_GPU_DESCRIPTOR_HANDLE g_hFontSrvGpuDescHandle = {} |
|
static |
◆ g_numFramesInFlight
UINT g_numFramesInFlight = 0 |
|
static |
◆ g_pd3dDevice
ID3D12Device* g_pd3dDevice = NULL |
|
static |
◆ g_pFontTextureResource
ID3D12Resource* g_pFontTextureResource = NULL |
|
static |
◆ g_pFrameResources
◆ g_pPipelineState
ID3D12PipelineState* g_pPipelineState = NULL |
|
static |
◆ g_pPixelShaderBlob
ID3D10Blob* g_pPixelShaderBlob = NULL |
|
static |
◆ g_pRootSignature
ID3D12RootSignature* g_pRootSignature = NULL |
|
static |
◆ g_pVertexShaderBlob
ID3D10Blob* g_pVertexShaderBlob = NULL |
|
static |
◆ g_RTVFormat
DXGI_FORMAT g_RTVFormat = DXGI_FORMAT_UNKNOWN |
|
static |