31 vk::ImageViewCreateInfo createInfo{};
33 .setViewType(vk::ImageViewType::e2D)
35 .setComponents(vk::ComponentMapping(
36 vk::ComponentSwizzle::eIdentity,
37 vk::ComponentSwizzle::eIdentity,
38 vk::ComponentSwizzle::eIdentity,
39 vk::ComponentSwizzle::eIdentity))
40 .setSubresourceRange(vk::ImageSubresourceRange(
41 vk::ImageAspectFlagBits::eColor,
43 m_view =
m_ctx->getDevice().createImageView(createInfo);