KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_VULKAN_DEVICE::BufferAllocation Struct Reference

Public Attributes

VkBuffer buffer = VK_NULL_HANDLE
 
VmaAllocation allocation = VK_NULL_HANDLE
 
void * mappedPtr = nullptr
 
size_t size = 0
 
bool mappable = false
 
RHI_BUFFER_TYPE type = RHI_BUFFER_TYPE::VERTEX
 
uint64_t lastUseSerial = 0
 

Detailed Description

Definition at line 433 of file rhi_vulkan_device.cpp.

Member Data Documentation

◆ allocation

VmaAllocation RHI_VULKAN_DEVICE::BufferAllocation::allocation = VK_NULL_HANDLE

Definition at line 436 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().

◆ buffer

VkBuffer RHI_VULKAN_DEVICE::BufferAllocation::buffer = VK_NULL_HANDLE

Definition at line 435 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().

◆ lastUseSerial

uint64_t RHI_VULKAN_DEVICE::BufferAllocation::lastUseSerial = 0

Definition at line 443 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::MarkBufferInUse().

◆ mappable

bool RHI_VULKAN_DEVICE::BufferAllocation::mappable = false

Definition at line 439 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().

◆ mappedPtr

void* RHI_VULKAN_DEVICE::BufferAllocation::mappedPtr = nullptr

Definition at line 437 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().

◆ size

size_t RHI_VULKAN_DEVICE::BufferAllocation::size = 0

Definition at line 438 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().

◆ type

RHI_BUFFER_TYPE RHI_VULKAN_DEVICE::BufferAllocation::type = RHI_BUFFER_TYPE::VERTEX

Definition at line 440 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::RealizeBuffer().


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