#define CE_EXPLICIT_FALSE
Definition Macros.hpp:416
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
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition WebGPU.hpp:119
WebGPU RenderAPI swapchain object.
Definition WGSwapchain.hpp:20
~WGSwapchain() final
Destroys the WGSwapchain object.
WGSwapchain(WGDevicePtr device, const GPUSwapchainDescriptor &descriptor)
Creates a new WGSwapchain object.
const GPUSwapchainDescriptor mDescriptor
A structure that describes the swapchain and it's properties.
Definition WGSwapchain.hpp:26
GPUImagePtr nextRenderImage() override
CE_WG_HANDLE(CAWebGPUDrawable) CAWebGPUDrawableType
Definition WGSwapchain.hpp:22
void present() override
Presents a image from the getSwapchain. The command buffer that signals.
CAWebGPUDrawableType mDrawable
The WebGPU API swapchain object.
Definition WGSwapchain.hpp:29
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