KDGpu::VulkanTexture
Module: Vulkan
VulkanTexture.
#include <vulkan_texture.h>
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) |
void * |
map() |
void |
unmap() |
SubresourceLayout |
getSubresourceLayout(const TextureSubresource & subresource) const |
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
function unmap
function getSubresourceLayout
| SubresourceLayout getSubresourceLayout(
const TextureSubresource & subresource
) const
|
function externalMemoryHandle
| MemoryHandle externalMemoryHandle() const
|
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:01:23 +0000