CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
WGRenderTarget.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "WebGPU.hpp"
11
13
15
16namespace CeresEngine {
17
18 class WGImage;
19 class WGSwapchain;
20
22 class WGRenderTarget final : public GPURenderTarget, public WGDeviceObject<WGRenderTarget, GPURenderTarget> {
23 private:
26
27 public:
30 };
31
32} // namespace CeresEngine
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 GPURenderTarget.hpp:105
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition WebGPU.hpp:119
WebGPU RenderAPI render target object.
Definition WGRenderTarget.hpp:22
const GPURenderTargetDescriptor mDescriptor
The descriptor used to create the render target.
Definition WGRenderTarget.hpp:25
WGRenderTarget(WGDevicePtr device, const GPURenderTargetDescriptor &descriptor)
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition GPURenderTarget.hpp:78