texture2d - getVulkanImage and support for Texture2DUsage::Attachment (#3632)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adrian Cojocaru <adrian.cojocaru92@yahoo.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
This commit is contained in:
Birk Skyum
2025-07-25 14:59:28 +02:00
committed by GitHub
parent eaba10a468
commit db29e6235f
3 changed files with 101 additions and 19 deletions

View File

@@ -80,6 +80,7 @@ public:
const vk::ImageLayout& getVulkanImageLayout() const { return imageLayout; }
const vk::UniqueImageView& getVulkanImageView() const { return imageAllocation->imageView; }
const vk::Image& getVulkanImage() const { return imageAllocation->image; }
const vk::Sampler& getVulkanSampler();
void copyImage(vk::Image image);