Class Texture
Defined in File Texture.hpp
Class Documentation
-
class Texture
Public Functions
-
Texture()
-
void createFromFile(VulkanDevice *device, VkCommandPool commandPool, const std::string &fileName)
-
void setImage(VkImage image)
-
void setImageView(VkImageView imageView)
-
inline uint32_t getMipLevel()
-
inline VulkanImage &getVulkanImage()
-
inline VulkanImageView &getVulkanImageView()
-
inline VkImage &getImage()
-
inline VkImageView &getImageView()
-
void createImage(VulkanDevice *device, uint32_t width, uint32_t height, uint32_t mip_levels, VkFormat format, VkImageTiling tiling, VkImageUsageFlags use_flags, VkMemoryPropertyFlags prop_flags)
-
void createImageView(VulkanDevice *device, VkFormat format, VkImageAspectFlags aspect_flags, uint32_t mip_levels)
-
void cleanUp()
-
~Texture()
-
Texture()