VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
ImageBase.h
1// Copyright (c) 2024 Michael Carlie. All Rights Reserved.
2//
3// This software is released under the MIT License.
4// https://opensource.org/licenses/MIT
5
6#ifndef INCLUDE_VULKANENGINE_IMAGEBASE_H_
7#define INCLUDE_VULKANENGINE_IMAGEBASE_H_
8
9#include <vulkan/vulkan.hpp>
10
11namespace VulkanEngine {
12
14class ImageBase {
15 public:
17 ImageBase();
18
20 virtual ~ImageBase();
21
23 virtual vk::Image getVkImage() const = 0;
24
26 virtual vk::ImageView getVkImageView() const = 0;
27};
28
29} // namespace VulkanEngine
30
31#endif // INCLUDE_VULKANENGINE_IMAGEBASE_H_
Base class for image types.
Definition: ImageBase.h:14
virtual vk::Image getVkImage() const =0
Get the interal vulkan image.
virtual ~ImageBase()
Destructor.
Definition: ImageBase.cpp:25
ImageBase()
Contructor.
Definition: ImageBase.cpp:23
virtual vk::ImageView getVkImageView() const =0
Get the internal vulkan image view.
TODO development of this class is in progress.
Definition: Attribute.h:13