Kanzi 4.0.0-beta2
kanzi::gfx::VulkanInitializationInfo Struct Reference

Defines the initialization parameters for the Vulkan backend. More...

#include <kanzi/gfx/platform/backend/vulkan/create_backend.hpp>

Public Attributes

string pipelineCacheDirectory
 Directory in which pipeline_cache.bin is created in. If empty, cache is disabled.
 
bool pipelineCachePersistent
 If true, initial cache data is read from disk.
 
bool pipelineCacheReadOnly
 If true, updated cache data is not saved to disk.
 
SharedLockedPtr< platform::Platformplatform
 Reference to the platform library that the backend uses to interact with the platform.
 
GpuSelectionType preferredDeviceSelection
 Preferred device selection criteria.
 
bool useRenderThread
 Use a Render Thread. This is an experimental feature.
 

Detailed Description

Defines the initialization parameters for the Vulkan backend.

Since
Kanzi 4.0.0

Member Data Documentation

◆ platform

SharedLockedPtr<platform::Platform> kanzi::gfx::VulkanInitializationInfo::platform

Reference to the platform library that the backend uses to interact with the platform.

◆ preferredDeviceSelection

GpuSelectionType kanzi::gfx::VulkanInitializationInfo::preferredDeviceSelection

Preferred device selection criteria.

◆ useRenderThread

bool kanzi::gfx::VulkanInitializationInfo::useRenderThread

Use a Render Thread. This is an experimental feature.

◆ pipelineCacheDirectory

string kanzi::gfx::VulkanInitializationInfo::pipelineCacheDirectory

Directory in which pipeline_cache.bin is created in. If empty, cache is disabled.

◆ pipelineCachePersistent

bool kanzi::gfx::VulkanInitializationInfo::pipelineCachePersistent

If true, initial cache data is read from disk.

◆ pipelineCacheReadOnly

bool kanzi::gfx::VulkanInitializationInfo::pipelineCacheReadOnly

If true, updated cache data is not saved to disk.


The documentation for this struct was generated from the following file: