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

Public Attributes

VkImage image = VK_NULL_HANDLE
 
VmaAllocation allocation = VK_NULL_HANDLE
 
VkImageView imageView = VK_NULL_HANDLE
 
VkSampler sampler = VK_NULL_HANDLE
 
uint32_t width = 0
 
uint32_t height = 0
 
RHI_TEXTURE_FORMAT format = RHI_TEXTURE_FORMAT::RGBA8
 
bool ownedByFBO = false
 
VkImageLayout currentLayout = VK_IMAGE_LAYOUT_UNDEFINED
 

Detailed Description

Definition at line 446 of file rhi_vulkan_device.cpp.

Member Data Documentation

◆ allocation

VmaAllocation RHI_VULKAN_DEVICE::TextureAllocation::allocation = VK_NULL_HANDLE

◆ currentLayout

VkImageLayout RHI_VULKAN_DEVICE::TextureAllocation::currentLayout = VK_IMAGE_LAYOUT_UNDEFINED

Definition at line 456 of file rhi_vulkan_device.cpp.

Referenced by RHI_VULKAN_DEVICE::TransitionTexture().

◆ format

◆ height

uint32_t RHI_VULKAN_DEVICE::TextureAllocation::height = 0

◆ image

◆ imageView

VkImageView RHI_VULKAN_DEVICE::TextureAllocation::imageView = VK_NULL_HANDLE

◆ ownedByFBO

bool RHI_VULKAN_DEVICE::TextureAllocation::ownedByFBO = false

◆ sampler

VkSampler RHI_VULKAN_DEVICE::TextureAllocation::sampler = VK_NULL_HANDLE

◆ width

uint32_t RHI_VULKAN_DEVICE::TextureAllocation::width = 0

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