CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Shading.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
14
15namespace CeresEngine {
16
76
128
166
167} // namespace CeresEngine
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
IBLAmbientLightingRenderTask(RenderGraph &renderGraph, RendererScene &scene, RendererView &view)
GPUSamplerPtr mGeometrySampler
A sampler to be used when sampling a geometry buffer image.
Definition Shading.hpp:108
RendererScene & mScene
Definition Shading.hpp:79
RendererView & mView
Definition Shading.hpp:80
bool mClear
If true, the pass will clear the output contents before it runs.
Definition Shading.hpp:51
RendererGraphicsPipelinePtr createGraphicsPipeline(RendererGraphicsPipelineManager &graphicsPipelineManager, RendererShader &shader, GPURenderPass &renderPass) final
Creates a new graphics pipeline instance for the render task.
RendererView & mView
Definition Shading.hpp:20
GPUSamplerPtr mGeometrySampler
A sampler to be used when sampling a geometry buffer image.
Definition Shading.hpp:48
RendererShaderPtr createShader(RendererShaderManager &shaderManager, GPURenderPass &renderPass) final
Creates a new shader instance for the render task.
PBRDeferredLightingRenderTask(RenderGraph &renderGraph, RendererScene &scene, RendererView &view, bool clear)
RendererScene & mScene
Definition Shading.hpp:19
struct CeresEngine::PBRDeferredLightingRenderTask::Output output
struct CeresEngine::PBRDeferredLightingRenderTask::Input input
void initialize(GPUDevice &device) final
Perform a sequence of steps that initialize the graphics render task.
Definition RenderGraph.hpp:23
Definition RenderTask.hpp:243
RenderTaskResourceUsage & compile()
Compiles the render task.
A renderer graphics pipeline.
Definition RendererGraphicsPipeline.hpp:60
The renderer graphics pipeline manager that is responsible for managing and re-using GPU graphics pip...
Definition RendererGraphicsPipeline.hpp:182
A class that represents a scene inside the renderer.
Definition RendererScene.hpp:34
A renderer shader.
Definition RendererShader.hpp:44
The renderer shader manager that is responsible for managing and re-using GPU shaders.
Definition RendererShader.hpp:85
A class that represents a view inside the renderer.
Definition RendererView.hpp:46
A simple graphics task that makes easier implementing tasks that use a single graphics pipeline.
Definition RenderTask.hpp:393
A simple graphics task that makes easier implementing tasks that use a single graphics pipeline.
Definition RenderTask.hpp:338
A render task that renders the scene skybox.
Definition Shading.hpp:130
SkyboxRenderTask(RenderGraph &renderGraph, RendererView &view)
Cretaes a new skybox render task.
RendererView & mView
The view to render the skybox for.
Definition Shading.hpp:133
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A set of resources used as input for the render task.
Definition Shading.hpp:84
ImageRenderResourceRef emissionAndMetallic
An image holding the material emissive properties and material metallic factor.
Definition Shading.hpp:94
ImageRenderResourceRef depth
An image holding the depth information.
Definition Shading.hpp:97
ImageRenderResourceRef albedoAndAmbientOcclusion
An image holding the material albedo and ambient occlusion factor.
Definition Shading.hpp:90
ImageRenderResourceRef normalAndRoughness
An image holding normals and material roughness.
Definition Shading.hpp:86
A set of resources used as output for the render task.
Definition Shading.hpp:101
ImageRenderResourceRef lighting
An image holding the accumulated lighting data.
Definition Shading.hpp:103
A set of resources used as input for the render task.
Definition Shading.hpp:24
ImageRenderResourceRef depth
An image holding the depth information.
Definition Shading.hpp:37
ImageRenderResourceRef emissionAndMetallic
An image holding the material emissive properties and material metallic factor.
Definition Shading.hpp:34
ImageRenderResourceRef normalAndRoughness
An image holding normals and material roughness.
Definition Shading.hpp:26
ImageRenderResourceRef albedoAndAmbientOcclusion
An image holding the material albedo and ambient occlusion factor.
Definition Shading.hpp:30
A set of resources used as output for the render task.
Definition Shading.hpp:41
ImageRenderResourceRef lighting
An image holding the accumulated lighting data.
Definition Shading.hpp:43
A context structure that holds context for a render graph pass.
Definition RenderTask.hpp:143
A set of resources used as input for the render task.
Definition Shading.hpp:137
ImageRenderResourceRef depth
An image holding the scene depth.
Definition Shading.hpp:139
A set of resources used as output for the render task.
Definition Shading.hpp:143
ImageRenderResourceRef lighting
An image holding the accumulated lighting data.
Definition Shading.hpp:145