1#ifndef VULKAN_DEPTHIMAGE
2#define VULKAN_DEPTHIMAGE
4#include <vulkan/vulkan.h>
11namespace Vulkan {
class DepthImage; }
16 :
Image{
virtualGpu, realGpu, VK_FORMAT_D32_SFLOAT,
resolution, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT }
Definition: DepthImage.h:13
DepthImage & operator=(DepthImage &&movedFrom)=default
DepthImage(const DepthImage &)=delete
DepthImage & operator=(const DepthImage &)=delete
DepthImage(DepthImage &&)=default
DepthImage(const LogicalDevice &virtualGpu, const PhysicalDevice &realGpu, std::pair< unsigned int, unsigned int > resolution)
Definition: DepthImage.h:15
An Image is an object representing what can be passed to the swapchain: the content of the image is w...
Definition: Image.h:19
std::pair< unsigned int, unsigned int > resolution
Definition: Image.h:126
LogicalDevice const * virtualGpu
Definition: Image.h:129
const ImageView & generateImageView(std::string tag, const LogicalDevice &virtualGpu, VkImageAspectFlags type=VK_IMAGE_ASPECT_COLOR_BIT)
Creates a new image view for this image, and adds it to the array of image views of this image,...
Definition: Image.cpp:63
A logical device is an abstraction of the physical GPU which we can mainly use to send commands.
Definition: LogicalDevice.h:15
Represents the GPU (or any other device) that will be used with Vulkan to perform computer graphics.
Definition: PhysicalDevice.h:17
Types of queue families.
Definition: Animations.h:17