KDGpu::VulkanTexture
Module: Vulkan
VulkanTexture.
#include <vulkan_texture.h>
Inherits from KDGpu::ApiTexture
Public Functions
|
Name |
|
VulkanTexture(VkImage _image, VmaAllocation _allocation, VmaAllocator _allocator, Format _format, Extent3D _extent, uint32_t _mipLevels, uint32_t _arrayLayers, TextureUsageFlags _usage, VulkanResourceManager * _vulkanResourceManager, const Handle< Device_t > & _deviceHandle, const MemoryHandle & _externalMemoryHandle, bool _ownedBySwapchain =false) |
virtual void * |
map() |
virtual void |
unmap() |
virtual SubresourceLayout |
getSubresourceLayout(const TextureSubresource & subresource) const |
virtual MemoryHandle |
externalMemoryHandle() const |
Public Attributes
Public Functions Documentation
function VulkanTexture
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | explicit VulkanTexture(
VkImage _image,
VmaAllocation _allocation,
VmaAllocator _allocator,
Format _format,
Extent3D _extent,
uint32_t _mipLevels,
uint32_t _arrayLayers,
TextureUsageFlags _usage,
VulkanResourceManager * _vulkanResourceManager,
const Handle< Device_t > & _deviceHandle,
const MemoryHandle & _externalMemoryHandle,
bool _ownedBySwapchain =false
)
|
function map
Reimplements: KDGpu::ApiTexture::map
function unmap
Reimplements: KDGpu::ApiTexture::unmap
function getSubresourceLayout
| virtual SubresourceLayout getSubresourceLayout(
const TextureSubresource & subresource
) const
|
Reimplements: KDGpu::ApiTexture::getSubresourceLayout
function externalMemoryHandle
| virtual MemoryHandle externalMemoryHandle() const
|
Reimplements: KDGpu::ApiTexture::externalMemoryHandle
Public Attributes Documentation
variable image
| VkImage image { VK_NULL_HANDLE };
|
variable allocation
| VmaAllocation allocation { VK_NULL_HANDLE };
|
variable allocator
| VmaAllocator allocator { VK_NULL_HANDLE };
|
variable mapped
| void * mapped { nullptr };
|
variable extent
variable mipLevels
variable arrayLayers
variable usage
variable ownedBySwapchain
| bool ownedBySwapchain { false };
|
variable vulkanResourceManager
| VulkanResourceManager * vulkanResourceManager { nullptr };
|
variable deviceHandle
| Handle< Device_t > deviceHandle;
|
variable m_externalMemoryHandle
| MemoryHandle m_externalMemoryHandle {};
|
Updated on 2024-12-22 at 00:08:03 +0000