Blender V5.3
blender::gpu::VKMemorySegment Struct Reference

#include <vk_texture_pool.hh>

Public Member Functions

uint64_t hash () const
bool operator== (const VKMemorySegment &) const =default

Public Attributes

VkDeviceSize offset
VkDeviceSize size

Detailed Description

Definition at line 20 of file vk_texture_pool.hh.

Member Function Documentation

◆ hash()

uint64_t blender::gpu::VKMemorySegment::hash ( ) const

Definition at line 51 of file vk_texture_pool.cc.

References blender::get_default_hash(), offset, and size.

◆ operator==()

bool blender::gpu::VKMemorySegment::operator== ( const VKMemorySegment & ) const
default

Member Data Documentation

◆ offset

VkDeviceSize blender::gpu::VKMemorySegment::offset

Definition at line 21 of file vk_texture_pool.hh.

Referenced by blender::gpu::create_and_bind_vk_image(), and hash().

◆ size

VkDeviceSize blender::gpu::VKMemorySegment::size

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