tp::PipelineCache class

Speeds up the compilation of pipelines by allowing the result of pipeline compilation to be reused between pipelines and between application runs.

Public functions

void getData(ArrayView<std::byte> data)
Writes the cache data to the given array.
auto getDataSize() const -> std::size_t
Returns the size of the pipeline cache data in bytes.
auto isNull() const -> bool
Returns true if the pipeline cache is null and not valid for use.
auto vkGetPipelineCacheHandle() const -> VkPipelineCacheHandle
Returns the associated Vulkan VkPipelineCache handle.

Function documentation

void tp::PipelineCache::getData(ArrayView<std::byte> data)

Writes the cache data to the given array.