CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GraphicsRenderer.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-2023 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
12
14
16
17namespace CeresEngine {
18
19 class GraphicsCommandBuffer;
20
53
54} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
Definition GPUDevice.hpp:357
Definition GPURenderTarget.hpp:105
An object that encapsulates rendering context for a view.
Definition GraphicsCommandBuffer.hpp:284
Definition GraphicsRenderer.hpp:21
GPUDevice & getDevice() const
RendererGraphicsPipelinePtr mPipeline
A RendererGraphicsPipeline instance that is responsible for drawing the UI.
Definition GraphicsRenderer.hpp:30
HashMap< TexturePtr, RendererTexturePtr > mLastRendererTextures
Definition GraphicsRenderer.hpp:31
Renderer & mRenderer
The renderer that backs the GraphicsRenderer.
Definition GraphicsRenderer.hpp:26
GraphicsRenderer(Renderer &renderer)
void render(GraphicsCommandBuffer &graphicsCommandBuffer, GPUCommandBuffer &commandBuffer, GPURenderTarget &renderTarget)
Renders the graphics command buffer onto the specified render target using the GPU command buffer.
The CeresEngine renderer.
Definition Renderer.hpp:35
Definition Application.hpp:19
std::unordered_map< Key, T, Hash, KeyEqual, ScopedAllocatorAdaptor< StdAllocator< Pair< const Key, T >, RawAllocator > > > HashMap
HashMap is an associative container that contains key-value pairs with unique keys.
Definition Map.hpp:33
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25