A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUSwapchain.hpp:118
Definition MKCommon.hpp:117
Mock RenderAPI swapchain object.
Definition MKSwapchain.hpp:20
void present() override
Presents a image from the getSwapchain. The command buffer that signals.
GPUImagePtr nextRenderImage() override
const GPUSwapchainDescriptor mDescriptor
A structure that describes the swapchain and it's properties.
Definition MKSwapchain.hpp:23
MKSwapchain(MKDevicePtr device, const GPUSwapchainDescriptor &descriptor)
Creates a new MKSwapchain object.
~MKSwapchain() final
Destroys the MKSwapchain object.
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Swapchain descriptor structure.
Definition GPUSwapchain.hpp:50