CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
UIRenderPass.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
11
13
15
17
19 private:
22
25
28
29 public:
31
32 protected:
35
37 void initialize(GPUDevice& device) override;
38
41
44 };
45
46} // namespace CeresEngine::Graphics::UI
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
Definition GPUDevice.hpp:357
Definition GPUGraphicsPipeline.hpp:790
Definition GPURenderPass.hpp:149
Definition GPURenderTarget.hpp:105
Definition UIRenderPass.hpp:18
void compile(RenderTaskCompiler &compiler) override
Compiles the render task.
Renderer & mRenderer
Definition UIRenderPass.hpp:27
void initialize(GPUDevice &device) override
Perform a sequence of steps that initialize the graphics render task.
void execute(RenderGraphContext &context, GPUCommandBuffer &commandBuffer, GPURenderTarget &renderTarget, GPUGraphicsPipeline &pipeline) override
GPUSamplerPtr mSampler
The image used to render the UI font.
Definition UIRenderPass.hpp:24
GPUImagePtr mFontImage
The image used to render the UI font.
Definition UIRenderPass.hpp:21
UIRenderTask(RenderGraph &renderGraph, Renderer &renderer, ImageRenderResource &output)
ImageRenderResource & mOutput
Definition UIRenderPass.hpp:26
GPUGraphicsPipelinePtr createGraphicsPipeline(GPUDevice &device, GPURenderPass &renderPass) override
Creates a new graphics pipeline instance for the render task.
Definition RenderResource.hpp:114
Definition RenderGraph.hpp:23
Definition RenderTask.hpp:243
The CeresEngine renderer.
Definition Renderer.hpp:35
A simple graphics task that makes easier implementing tasks that use a single graphics pipeline.
Definition RenderTask.hpp:338
Definition Checkbox.hpp:14
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A context structure that holds context for a render graph pass.
Definition RenderTask.hpp:143