CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
WGGraphicsPipeline.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
16#include <functional>
17
18namespace CeresEngine {
19
20 class WGRenderAPI;
21 class WGRenderPass;
22 class WGShaderProgram;
23 class WGRenderPass;
24 class WGPipelineLayout;
25
26 class WGCommandBuffer;
27
57
58} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUGraphicsPipeline.hpp:790
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition WebGPU.hpp:119
WebGPU RenderAPI graphics pipeline object.
Definition WGGraphicsPipeline.hpp:29
const GPUGraphicsPipelineDescriptor mDescriptor
A object that describes the graphics pipeline object.
Definition WGGraphicsPipeline.hpp:32
WGShaderProgramPtr mShaderProgram
A vector of all pipelines stages in the pipeline.
Definition WGGraphicsPipeline.hpp:41
void begin(GPUCommandBuffer &commandBuffer) final
GPUResourceSetPtr createResourceSet(const GPUResourceSetDescriptor &descriptor, UInt32 set=0) final
WGRenderPassPtr mRenderPass
The WebGPU render pass.
Definition WGGraphicsPipeline.hpp:35
void end(GPUCommandBuffer &commandBuffer) final
WGGraphicsPipeline(WGDevicePtr device, const GPUGraphicsPipelineDescriptor &descriptor)
WGPipelineLayoutPtr mPipelineLayout
The WebGPU pipeline layout.
Definition WGGraphicsPipeline.hpp:38
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 GPUGraphicsPipeline.hpp:721
Definition GPUResourceSet.hpp:716