Table of Contents

Class FrameGraphPassDescription

Namespace
BSGameLib.Game.Rendering
Assembly
BSGameLib.Game.dll

Describes a pass of a FrameGraph: its name and the resources it reads and writes.

public sealed record FrameGraphPassDescription : IEquatable<FrameGraphPassDescription>
Inheritance
FrameGraphPassDescription
Implements
Inherited Members

Constructors

FrameGraphPassDescription(string, IReadOnlyList<FrameGraphResourceHandle>, IReadOnlyList<FrameGraphResourceHandle>)

Describes a pass of a FrameGraph: its name and the resources it reads and writes.

public FrameGraphPassDescription(string Name, IReadOnlyList<FrameGraphResourceHandle> Reads, IReadOnlyList<FrameGraphResourceHandle> Writes)

Parameters

Name string

The pass's name.

Reads IReadOnlyList<FrameGraphResourceHandle>

The resources the pass reads.

Writes IReadOnlyList<FrameGraphResourceHandle>

The resources the pass writes.

Properties

Name

The pass's name.

public string Name { get; init; }

Property Value

string

Reads

The resources the pass reads.

public IReadOnlyList<FrameGraphResourceHandle> Reads { get; init; }

Property Value

IReadOnlyList<FrameGraphResourceHandle>

Writes

The resources the pass writes.

public IReadOnlyList<FrameGraphResourceHandle> Writes { get; init; }

Property Value

IReadOnlyList<FrameGraphResourceHandle>