Diligent::EngineVkCreateInfo struct

Attributes specific to Vulkan engine.

Contents

Base classes

struct EngineCreateInfo
Engine creation attibutes.

Public variables

Uint32 AdapterId
Id of the hardware adapter the engine should be initialized on.
bool EnableValidation
Enable Vulkan validation layers.
Uint32 GlobalExtensionCount
Number of global Vulkan extensions.
const char*const * ppGlobalExtensionNames
List of global Vulkan extensions to enable.
void* pVkAllocator
Allocator used as pAllocator parameter in callse to Vulkan Create* functions.
VulkanDescriptorPoolSize MainDescriptorPoolSize
Size of the main descriptor pool that is used to allocate descriptor sets for static and mutable variables. If allocation from the current pool fails, the engine creates another one.
VulkanDescriptorPoolSize DynamicDescriptorPoolSize
Size of the dynamic descriptor pool that is used to allocate descriptor sets for dynamic variables. Every device context has its own dynamic descriptor set allocator. The allocator requests pools from global dynamic descriptor pool manager, and then performs lock-free suballocations from the pool.
Uint32 DeviceLocalMemoryPageSize
Allocation granularity for device-local memory.
Uint32 HostVisibleMemoryPageSize
Allocation granularity for host-visible memory.
Uint32 DeviceLocalMemoryReserveSize
Amount of device-local memory reserved by the engine. The engine does not pre-allocate the memory, but rather keeps free pages when resources are released.
Uint32 HostVisibleMemoryReserveSize
Amount of host-visible memory reserved by the engine. The engine does not pre-allocate the memory, but rather keeps free pages when resources are released.
Uint32 UploadHeapPageSize
Page size of the upload heap that is allocated by immediate/deferred contexts from the global memory manager to perform lock-free dynamic suballocations. Upload heap is used to update resources with IDeviceContext::UpdateBuffer() and IDeviceContext::UpdateTexture().
Uint32 DynamicHeapSize
Size of the dynamic heap (the buffer that is used to suballocate memory for dynamic resources) shared by all contexts.
Uint32 DynamicHeapPageSize
Size of the memory chunk suballocated by immediate/deferred context from the global dynamic heap to perform lock-free dynamic suballocations.
Uint32 QueryPoolSizes
Query pool size for each query type.
const char* pDxCompilerPath
Path to DirectX Shader Compiler, which is required to use Shader Model 6.0+ features when compiling shaders from HLSL.