Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::rg::PassContext Struct Reference

#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).

Detailed Description

What a pass's execute() is told: where it is drawing and what it may read.

Definition at line 75 of file RenderGraph.hpp.

Member Function Documentation

◆ input()

TextureHandle esengine::rg::PassContext::input ( u32 i) const
inline

Definition at line 83 of file RenderGraph.hpp.

References inputs, and esengine::Invalid.

Member Data Documentation

◆ height

u32 esengine::rg::PassContext::height = 0

Definition at line 77 of file RenderGraph.hpp.

◆ inputs

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().

◆ output

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.

◆ width

u32 esengine::rg::PassContext::width = 0

Definition at line 76 of file RenderGraph.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/graph/RenderGraph.hpp