From 54c702027fe5a3b0cdaf7ae5f60b8699b2121b8f Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 16 Apr 2018 23:41:26 -0700 Subject: Implementing device context in vulkan --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index fd60f6bc..55643ca0 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1285,6 +1285,11 @@ namespace Diligent /// Allocator used as pAllocator parameter in callse to Vulkan Create* functions void *pVkAllocator = nullptr; + + /// Number of commands to flush the command buffer. Only draw/dispatch commands count + /// towards the limit. Command buffers are only flushed when pipeline state is changed + /// or when backbuffer is presented. + Uint32 NumCommandsToFlushCmdBuffer = 256; }; /// Box -- cgit v1.2.3