imgui_impl_dx12.h (imgui-1.86) | : | imgui_impl_dx12.h (imgui-1.87) | ||
---|---|---|---|---|
// dear imgui: Renderer Backend for DirectX12 | // dear imgui: Renderer Backend for DirectX12 | |||
// This needs to be used along with a Platform Backend (e.g. Win32) | // This needs to be used along with a Platform Backend (e.g. Win32) | |||
// Implemented features: | // Implemented features: | |||
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImT extureID. Read the FAQ about ImTextureID! | // [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImT extureID. Read the FAQ about ImTextureID! | |||
// [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices. | // [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices. | |||
// Important: to compile on 32-bit systems, this backend requires code to be com piled with '#define ImTextureID ImU64'. | // Important: to compile on 32-bit systems, this backend requires code to be com piled with '#define ImTextureID ImU64'. | |||
// This is because we need ImTextureID to carry a 64-bit value and by default Im | // See imgui_impl_dx12.cpp file for details. | |||
TextureID is defined as void*. | ||||
// This define is set in the example .vcxproj file and need to be replicated in | ||||
your app or by adding it to your imconfig.h file. | ||||
// You can use unmodified imgui_impl_* files in your project. See examples/ fold er for examples of using this. | // You can use unmodified imgui_impl_* files in your project. See examples/ fold er for examples of using this. | |||
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. | // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. | |||
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp. | // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp. | |||
// Read online: https://github.com/ocornut/imgui/tree/master/docs | // Read online: https://github.com/ocornut/imgui/tree/master/docs | |||
#pragma once | #pragma once | |||
#include "imgui.h" // IMGUI_IMPL_API | #include "imgui.h" // IMGUI_IMPL_API | |||
#include <dxgiformat.h> // DXGI_FORMAT | #include <dxgiformat.h> // DXGI_FORMAT | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added |