12 virtual VkImageView GetImageView()
const;
13 VkSampler GetSampler()
const;
14 virtual void RecreateTexture(
const CreateInfo& createInfo)
override;
16 void CreateTextureImage(
const CreateInfo &createInfo, uint32_t &mipLevels, uint32_t layerCount);
17 void CreateTextureSampler(
const CreateInfo &createInfo, uint32_t mipLevels);
18 void GenerateMipmaps(VkImage image, VkFormat imageFormat, int32_t texWidth, int32_t texHeight, uint32_t mipLevels);
20 VkDeviceMemory imageMemory =
nullptr;
21 VkImageView imageView =
nullptr;
22 VkSampler sampler =
nullptr;
23 VkImage image =
nullptr;
24 VkFormat format = VK_FORMAT_UNDEFINED;
Definition Texture.hpp:40
Definition VulkanTexture.hpp:7
Definition Texture.hpp:42