Blender V4.5
blender::gpu::VKDescriptorBufferLayout Struct Reference

#include <vk_descriptor_set_layouts.hh>

Public Attributes

VkDeviceSize size
 
Vector< VkDeviceSize > binding_offsets
 

Detailed Description

Definition at line 70 of file vk_descriptor_set_layouts.hh.

Member Data Documentation

◆ binding_offsets

Vector<VkDeviceSize> blender::gpu::VKDescriptorBufferLayout::binding_offsets

Offsets of each binding inside the buffer.

Offsets are aligned to VkPhysicalDeviceDescriptorBufferProperties.descriptorBufferOffsetAlignment.

Definition at line 85 of file vk_descriptor_set_layouts.hh.

◆ size

VkDeviceSize blender::gpu::VKDescriptorBufferLayout::size

Total size of the descriptor buffer.

Size is aligned to VkPhysicalDeviceDescriptorBufferProperties.descriptorBufferOffsetAlignment.

Definition at line 77 of file vk_descriptor_set_layouts.hh.

Referenced by blender::gpu::VKDescriptorBufferUpdator::allocate_new_descriptor_set().


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