Class VulkanPipelineCache#

Inheritance Relationships#

Base Type#

Class Documentation#

class VulkanPipelineCache : public TRAP::Graphics::PipelineCache#

Public Functions

explicit VulkanPipelineCache(const RendererAPI::PipelineCacheDesc &desc)#

Constructor.

Parameters:

descPipeline cache description.

~VulkanPipelineCache() override#

Destructor.

consteval VulkanPipelineCache(const VulkanPipelineCache&) noexcept = delete#

Copy constructor.

consteval VulkanPipelineCache &operator=(const VulkanPipelineCache&) noexcept = delete#

Copy assignment operator.

VulkanPipelineCache(VulkanPipelineCache&&) noexcept = default#

Move constructor.

VulkanPipelineCache &operator=(VulkanPipelineCache&&) noexcept = default#

Move assignment operator.

virtual std::vector<u8> GetPipelineCacheData() const override#

Retrieve the cached pipeline data in bytes.

Returns:

Pipeline cache data as bytes.

constexpr VkPipelineCache GetVkPipelineCache() const noexcept#

Retrieve the Vulkan pipeline cache handle.

Returns:

Vulkan pipeline cache handle