17 #ifndef DGL_VULKAN_HPP_INCLUDED
18 #define DGL_VULKAN_HPP_INCLUDED
20 #include "ImageBase.hpp"
22 #include <vulkan/vulkan_core.h>
54 VulkanImage(
const char* rawData, uint width, uint height, ImageFormat format);
78 ImageFormat format = kImageFormatBGRA) noexcept
override;
91 inline void loadFromMemory(
const char* rdata, uint w, uint h, ImageFormat fmt = kImageFormatBGRA)
Definition: ImageBase.hpp:45
Definition: Vulkan.hpp:43
void drawAt(const GraphicsContext &context, const Point< int > &pos) override
VulkanImage(const VulkanImage &image)
VulkanImage(const char *rawData, uint width, uint height, ImageFormat format)
VulkanImage(const char *rawData, const Size< uint > &size, ImageFormat format)
VulkanImage & operator=(const VulkanImage &image) noexcept
void loadFromMemory(const char *rawData, const Size< uint > &size, ImageFormat format=kImageFormatBGRA) noexcept override
Definition: Vulkan.hpp:32