CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
RenderGraphResource.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 "Forward.hpp"
11
13
15
16 class RenderGraph;
17
20 Image,
21
23 Buffer
24 };
25
26 class RenderGraphResource : public RefCounted<RenderGraphResource> {
27 protected:
29
30 public:
33
34 public:
36 };
37
39
40} // namespace CeresEngine::RenderGraph2
Represents a secure buffer i.e.
Definition Buffer.hpp:28
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
A simple reference counter base class.
Definition SmartPtr.hpp:438
Represents a graph type that can be used for describring the whole rendering process in the engine.
Definition RenderGraph.hpp:33
Definition RenderGraphResource.hpp:26
RenderGraph & mGraph
Definition RenderGraphResource.hpp:28
virtual RenderGraphResourceType getType() const noexcept=0
virtual ~RenderGraphResource() noexcept=default
RenderGraphResource(RenderGraph &graph)
Definition RenderGraphResource.hpp:31
Definition Forward.hpp:12
RenderGraphResourceType
Definition RenderGraphResource.hpp:18
@ Image
The RenderGraphResource is a RenderGraphImage.
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25