CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
WGImage.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
14
16
17namespace CeresEngine {
18
42
44 class WGImageView final : public GPUImageView, public WGDeviceObject<WGImageView, GPUImageView> {
45 private:
48
49 public:
52 };
53
54} // namespace CeresEngine
#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 GPUImage.hpp:331
Definition GPUImage.hpp:527
GPUImage & image
The image that this view belongs to.
Definition GPUImage.hpp:531
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
WebGPU RenderAPI device object.
Definition WGDevice.hpp:32
Definition WebGPU.hpp:119
WebGPU RenderAPI image object.
Definition WGImage.hpp:20
CE_WG_HANDLE(WGLTexture) WGLTextureType
Definition WGImage.hpp:22
GPUImageViewPtr createView(const GPUImageViewDescriptor &descriptor) final
WGLTextureType wGexture
The WebGPU API texture object.
Definition WGImage.hpp:29
const GPUImageDescriptor mDescriptor
The image descriptor.
Definition WGImage.hpp:26
WGImage(WGDevicePtr device, const GPUImageDescriptor &descriptor)
WebGPU RenderAPI image view object.
Definition WGImage.hpp:44
const GPUImageViewDescriptor mDescriptor
The image descriptor.
Definition WGImage.hpp:47
WGImageView(WGDevice &device, WGImage &image, const GPUImageViewDescriptor &descriptor)
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition GPUImage.hpp:247
Image view descriptor structure.
Definition GPUImage.hpp:482