summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-17 06:41:26 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-17 06:41:26 +0000
commit54c702027fe5a3b0cdaf7ae5f60b8699b2121b8f (patch)
treeec4fbc2114765fff3dcf19976e7b2ae75af8837a /Graphics/GraphicsEngine
parentAdded VulkanCommandBuffer (diff)
downloadDiligentCore-54c702027fe5a3b0cdaf7ae5f60b8699b2121b8f.tar.gz
DiligentCore-54c702027fe5a3b0cdaf7ae5f60b8699b2121b8f.zip
Implementing device context in vulkan
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h5
1 files changed, 5 insertions, 0 deletions
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