C Specification
Bits which can be set in VkPipelineCacheCreateInfo::flags,
specifying behavior of the pipeline cache, are:
// Provided by VKSC_VERSION_1_0
typedef enum VkPipelineCacheCreateFlagBits {
// Provided by VKSC_VERSION_1_0
VK_PIPELINE_CACHE_CREATE_READ_ONLY_BIT = 0x00000002,
// Provided by VKSC_VERSION_1_0
VK_PIPELINE_CACHE_CREATE_USE_APPLICATION_STORAGE_BIT = 0x00000004,
} VkPipelineCacheCreateFlagBits;
Description
-
VK_PIPELINE_CACHE_CREATE_READ_ONLY_BITspecifies that the new pipeline cache will be read-only. -
VK_PIPELINE_CACHE_CREATE_USE_APPLICATION_STORAGE_BITspecifies that the application will maintain the contents of the memory pointed to bypInitialDatafor the lifetime of the pipeline cache object created, avoiding the need for the implementation to make a copy of the data. The memory pointed to bypInitialDatacan be modified or released by the application only after any pipeline cache objects created using it have been destroyed.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.