|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <RenderGraph.hpp>
Public Member Functions | |
| TextureHandle | input (u32 i) const |
Public Attributes | |
| u32 | width = 0 |
| u32 | height = 0 |
| const std::vector< TextureHandle > * | inputs = nullptr |
| The pass's declared reads, already bound to units 0..n-1, in order. | |
| TextureHandle | output = TextureHandle::Invalid |
| The texture this pass writes: the storage texture of a compute pass (a render pass draws into its framebuffer instead). | |
What a pass's execute() is told: where it is drawing and what it may read.
Definition at line 75 of file RenderGraph.hpp.
|
inline |
Definition at line 83 of file RenderGraph.hpp.
References inputs, and esengine::Invalid.
| u32 esengine::rg::PassContext::height = 0 |
Definition at line 77 of file RenderGraph.hpp.
| const std::vector<TextureHandle>* esengine::rg::PassContext::inputs = nullptr |
The pass's declared reads, already bound to units 0..n-1, in order.
Definition at line 79 of file RenderGraph.hpp.
Referenced by input().
| TextureHandle esengine::rg::PassContext::output = TextureHandle::Invalid |
The texture this pass writes: the storage texture of a compute pass (a render pass draws into its framebuffer instead).
Definition at line 81 of file RenderGraph.hpp.
| u32 esengine::rg::PassContext::width = 0 |
Definition at line 76 of file RenderGraph.hpp.