CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
RenderGraphBuilder.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"
12
13#include "RenderGraphImage.hpp"
14
16
18 public:
19 struct AttachmentInfo {};
20
22
24
26
28
30
31 public:
36
41
42 void read(GraphSocket& socket);
43 void read(RenderGraphResource& resource);
44
45 void write(GraphSocket& socket);
46 void write(RenderGraphResource& resource);
47 };
48
49} // namespace CeresEngine::RenderGraph2
Definition GraphSocket.hpp:46
Definition RenderGraphBuilder.hpp:17
void write(RenderGraphResource &resource)
void setDepthAttachment(GraphSocket &socket, const RenderGraphImageDescriptor &descriptor)
void setDepthAttachment(RenderGraphImage &image)
void addColorAttachment(GraphSocket &socket)
void addColorAttachment(const RenderGraphImageDescriptor &descriptor)
void addColorAttachment(RenderGraphImage &image)
void setDepthAttachment(GraphSocket &socket)
void setDepthAttachment(const RenderGraphImageDescriptor &descriptor)
void addColorAttachment(GraphSocket &socket, const RenderGraphImageDescriptor &descriptor)
void read(RenderGraphResource &resource)
A RenderGraph resource that represents a GPU image.
Definition RenderGraphImage.hpp:76
Definition RenderGraphResource.hpp:26
Definition Forward.hpp:12
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A structure that describes how an Image Resource should be created during Render Graph execution.
Definition RenderGraphImage.hpp:44