1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in provided example, to reduce latency.

This commit is contained in:
ocornut 2025-01-15 15:13:05 +01:00
parent 0e21bde77b
commit 6684984c49
2 changed files with 4 additions and 2 deletions

View file

@ -23,8 +23,8 @@
#endif
// Config for example app
static const int APP_NUM_FRAMES_IN_FLIGHT = 3;
static const int APP_NUM_BACK_BUFFERS = 3;
static const int APP_NUM_FRAMES_IN_FLIGHT = 2;
static const int APP_NUM_BACK_BUFFERS = 2;
static const int APP_SRV_HEAP_SIZE = 64;
struct FrameContext