#include <Vulkan.hpp>
 | 
|   | VulkanImage () | 
|   | 
|   | VulkanImage (const char *rawData, uint width, uint height, ImageFormat format) | 
|   | 
|   | VulkanImage (const char *rawData, const Size< uint > &size, ImageFormat format) | 
|   | 
|   | VulkanImage (const VulkanImage &image) | 
|   | 
|   | ~VulkanImage () override | 
|   | 
| void  | loadFromMemory (const char *rawData, const Size< uint > &size, ImageFormat format=kImageFormatBGRA) noexcept override | 
|   | 
| void  | drawAt (const GraphicsContext &context, const Point< int > &pos) override | 
|   | 
| VulkanImage &  | operator= (const VulkanImage &image) noexcept | 
|   | 
| 
void  | loadFromMemory (const char *rdata, uint w, uint h, ImageFormat fmt=kImageFormatBGRA) | 
|   | 
| 
void  | draw (const GraphicsContext &context) | 
|   | 
| 
void  | drawAt (const GraphicsContext &context, int x, int y) | 
|   | 
| virtual  | ~ImageBase () | 
|   | 
| bool  | isValid () const noexcept | 
|   | 
| bool  | isInvalid () const noexcept | 
|   | 
| uint  | getWidth () const noexcept | 
|   | 
| uint  | getHeight () const noexcept | 
|   | 
| const Size< uint > &  | getSize () const noexcept | 
|   | 
| const char *  | getRawData () const noexcept | 
|   | 
| ImageFormat  | getFormat () const noexcept | 
|   | 
| void  | loadFromMemory (const char *rawData, uint width, uint height, ImageFormat format=kImageFormatBGRA) noexcept | 
|   | 
| void  | draw (const GraphicsContext &context) | 
|   | 
| void  | drawAt (const GraphicsContext &context, int x, int y) | 
|   | 
| ImageBase &  | operator= (const ImageBase &image) noexcept | 
|   | 
| 
bool  | operator== (const ImageBase &image) const noexcept | 
|   | 
| 
bool  | operator!= (const ImageBase &image) const noexcept | 
|   | 
Vulkan Image class.
TODO ... 
 
◆ VulkanImage() [1/4]
      
        
          | VulkanImage::VulkanImage  | 
          ( | 
           | ) | 
           | 
        
      
 
Constructor for a null Image. 
 
 
◆ VulkanImage() [2/4]
      
        
          | VulkanImage::VulkanImage  | 
          ( | 
          const char *  | 
          rawData,  | 
        
        
           | 
           | 
          uint  | 
          width,  | 
        
        
           | 
           | 
          uint  | 
          height,  | 
        
        
           | 
           | 
          ImageFormat  | 
          format  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor using raw image data. 
- Note
 - rawData must remain valid for the lifetime of this Image. 
 
 
 
◆ VulkanImage() [3/4]
      
        
          | VulkanImage::VulkanImage  | 
          ( | 
          const char *  | 
          rawData,  | 
        
        
           | 
           | 
          const Size< uint > &  | 
          size,  | 
        
        
           | 
           | 
          ImageFormat  | 
          format  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor using raw image data. 
- Note
 - rawData must remain valid for the lifetime of this Image. 
 
 
 
◆ VulkanImage() [4/4]
Constructor using another image data. 
 
 
◆ ~VulkanImage()
  
  
      
        
          | VulkanImage::~VulkanImage  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ loadFromMemory()
  
  
      
        
          | void VulkanImage::loadFromMemory  | 
          ( | 
          const char *  | 
          rawData,  | 
         
        
           | 
           | 
          const Size< uint > &  | 
          size,  | 
         
        
           | 
           | 
          ImageFormat  | 
          format = kImageFormatBGRA  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtualnoexcept   | 
  
 
Load image data from memory. 
- Note
 - rawData must remain valid for the lifetime of this Image. 
 
Reimplemented from ImageBase.
 
 
◆ drawAt()
Draw this image at position pos using the graphics context context. 
Implements ImageBase.
 
 
◆ operator=()
The documentation for this class was generated from the following file: