Blender V5.3
blender::gpu::VKImageCache Class Reference

#include <vk_texture_pool.hh>

Public Member Functions

VKResourceWithHandle< VkImage > get_or_create (const VKImageInfo &info)
Vector< VKImageView > take_image_views (const VKImageInfo &info)
void store_image_views (const VKImageInfo &info, Vector< VKImageView > image_views)
void reset (bool force_reset=false)
void reset_unused_cycles_count (const VKImageInfo &info)
void discard_all_of (VmaAllocation allocation)
uint64_t size () const

Detailed Description

Definition at line 39 of file vk_texture_pool.hh.

Member Function Documentation

◆ discard_all_of()

◆ get_or_create()

VKResourceWithHandle< VkImage > blender::gpu::VKImageCache::get_or_create ( const VKImageInfo & info)

◆ reset()

◆ reset_unused_cycles_count()

void blender::gpu::VKImageCache::reset_unused_cycles_count ( const VKImageInfo & info)

Definition at line 167 of file vk_texture_pool.cc.

References BLI_assert_msg.

◆ size()

uint64_t blender::gpu::VKImageCache::size ( ) const
inline

Definition at line 72 of file vk_texture_pool.hh.

◆ store_image_views()

void blender::gpu::VKImageCache::store_image_views ( const VKImageInfo & info,
Vector< VKImageView > image_views )

Definition at line 161 of file vk_texture_pool.cc.

◆ take_image_views()

Vector< VKImageView > blender::gpu::VKImageCache::take_image_views ( const VKImageInfo & info)

Definition at line 155 of file vk_texture_pool.cc.


The documentation for this class was generated from the following files: