CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
RendererExtension.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
12namespace CeresEngine {
13
15 public:
17 virtual ~RendererExtension() = default;
18
19 public:
23 virtual void render(GPUCommandBuffer& commandBuffer, GPURenderPass& renderPass, GPURenderTarget& renderTarget) = 0;
24 };
25
26} // namespace CeresEngine
Definition GPUCommandBuffer.hpp:77
Definition GPURenderPass.hpp:149
Definition GPURenderTarget.hpp:105
Definition RendererExtension.hpp:14
virtual void render(GPUCommandBuffer &commandBuffer, GPURenderPass &renderPass, GPURenderTarget &renderTarget)=0
Renders the extension on the given render target.
virtual ~RendererExtension()=default
Defaulted virtual destructor.
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25