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
)
|
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
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 {};
|
Updated on 2024-12-22 at 00:08:03 +0000