|
Blender V5.0
|
#include <vk_memory_layout.hh>
Public Member Functions | |
| int64_t | sample_count () const |
| int64_t | result_offset (int3 sub_offset, int layer) const |
Public Attributes | |
| int3 | offset |
| int3 | extent |
| IndexRange | layers |
Image transfers can use multiple transfer buffers for a single request.
This helper class helps in splitting the transfers in smaller chunks.
Definition at line 128 of file vk_memory_layout.hh.
Definition at line 138 of file vk_memory_layout.hh.
|
inline |
Definition at line 133 of file vk_memory_layout.hh.
References extent, and layers.
Referenced by blender::gpu::VKTexture::read_sub().
| int3 blender::gpu::TransferRegion::extent |
Definition at line 130 of file vk_memory_layout.hh.
Referenced by blender::gpu::VKTexture::read_sub(), result_offset(), and sample_count().
| IndexRange blender::gpu::TransferRegion::layers |
Definition at line 131 of file vk_memory_layout.hh.
Referenced by blender::gpu::VKTexture::read_sub(), result_offset(), and sample_count().
| int3 blender::gpu::TransferRegion::offset |
Definition at line 129 of file vk_memory_layout.hh.
Referenced by blender::gpu::VKTexture::read_sub(), and result_offset().