KDGpu::VulkanBuffer
Module: Vulkan
VulkanBuffer.
#include <vulkan_buffer.h>
Inherits from KDGpu::ApiBuffer
Public Functions
Public Attributes
Public Functions Documentation
function VulkanBuffer
| explicit VulkanBuffer(
VkBuffer _buffer,
VmaAllocation _allocation,
VmaAllocator _allocator,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle,
const MemoryHandle & _externalMemoryHandle,
const BufferDeviceAddress & _deviceAddress
)
|
function map
Reimplements: KDGpu::ApiBuffer::map
function unmap
Reimplements: KDGpu::ApiBuffer::unmap
function invalidate
| virtual void invalidate()
|
Reimplements: KDGpu::ApiBuffer::invalidate
function flush
Reimplements: KDGpu::ApiBuffer::flush
function externalMemoryHandle
| virtual MemoryHandle externalMemoryHandle() const
|
Reimplements: KDGpu::ApiBuffer::externalMemoryHandle
function bufferDeviceAddress
| virtual BufferDeviceAddress bufferDeviceAddress() const
|
Reimplements: KDGpu::ApiBuffer::bufferDeviceAddress
Public Attributes Documentation
variable buffer
| VkBuffer buffer { VK_NULL_HANDLE };
|
variable allocation
| VmaAllocation allocation { VK_NULL_HANDLE };
|
variable allocator
| VmaAllocator allocator { VK_NULL_HANDLE };
|
variable mapped
| void * mapped { nullptr };
|
variable vulkanResourceManager
| VulkanResourceManager * vulkanResourceManager;
|
variable deviceHandle
| Handle< Device_t > deviceHandle;
|
variable m_externalMemoryHandle
| MemoryHandle m_externalMemoryHandle {};
|
variable m_bufferAddress
| BufferDeviceAddress m_bufferAddress { 0 };
|
Updated on 2024-11-25 at 00:15:04 +0000