VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::vulkan::Image Class Reference

Public Member Functions

 Image (const Image &image)=delete
 
Imageoperator= (const Image &image)=delete
 
 Image (Image &&image) noexcept
 
Imageoperator= (Image &&image) noexcept
 
vc::Error Load (unsigned char *pixels, int width, int height, int channels, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties)
 
vc::Error Load (uint16_t *pixels, int width, int height, int channels, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties)
 
vc::Error Create (VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties, uint32_t width, uint32_t height, uint32_t arrayLevels=1, uint32_t mipLevels=1)
 
void SetSamples (VkSampleCountFlagBits samples)
 
void SetSamples (int samples)
 
void SetImageLayout (VkImageLayout layout)
 
VkFormat GetFormat () const
 
VkImage GetVkImage () const
 
 operator VkImage () const
 
uint32_t GetWidth () const
 
uint32_t GetHeight () const
 
VkImageLayout GetLayout () const
 

Friends

class CommandBuffer
 

The documentation for this class was generated from the following files: