ngfx::VKImageView

Public Functions

Name
void create(VkDevice device, VkImage image, VkImageViewType imageViewType =VK_IMAGE_VIEW_TYPE_2D, VkFormat colorFormat =VK_FORMAT_R8G8B8A8_UNORM, VkImageAspectFlags aspectMask =VK_IMAGE_ASPECT_COLOR_BIT, uint32_t mipLevels =1, uint32_t arrayLayers =1, uint32_t baseMipLevel =0, uint32_t baseArrayLayer =0)
void create(VkDevice device, VKImageViewCreateInfo & createInfo)
virtual ~VKImageView()

Public Attributes

Name
VkImageView v
VKImageViewCreateInfo createInfo

Public Functions Documentation

function create

void create(
    VkDevice device,
    VkImage image,
    VkImageViewType imageViewType =VK_IMAGE_VIEW_TYPE_2D,
    VkFormat colorFormat =VK_FORMAT_R8G8B8A8_UNORM,
    VkImageAspectFlags aspectMask =VK_IMAGE_ASPECT_COLOR_BIT,
    uint32_t mipLevels =1,
    uint32_t arrayLayers =1,
    uint32_t baseMipLevel =0,
    uint32_t baseArrayLayer =0
)

function create

void create(
    VkDevice device,
    VKImageViewCreateInfo & createInfo
)

function ~VKImageView

virtual ~VKImageView()

Public Attributes Documentation

variable v

VkImageView v = VK_NULL_HANDLE;

variable createInfo

VKImageViewCreateInfo createInfo;

Updated on 3 April 2021 at 20:21:51 PDT