CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
WGResourceSet.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 WGPipelineLayout;
19
21 class WGResourceSet final : public GPUResourceSet, public WGDeviceObject<WGResourceSet, GPUResourceSet> {
22 private:
25
26 public:
29 };
30
31} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
A RenderAPI object that holds a set of resources that can be bound into shader.
Definition GPUResourceSet.hpp:735
GPUPipelineLayout & pipelineLayout
The owning pipeline layout object this ResourceSet was created from.
Definition GPUResourceSet.hpp:738
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition WebGPU.hpp:119
WebGPU RenderAPI resource set object.
Definition WGResourceSet.hpp:21
WGResourceSet(WGPipelineLayoutPtr pipelineLayout, const GPUResourceSetDescriptor &descriptor, UInt32 set=0)
const GPUResourceSetDescriptor mDescriptor
The ResourceSet descriptor structure.
Definition WGResourceSet.hpp:24
Definition Application.hpp:19
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition GPUResourceSet.hpp:716