Table of Contents

Struct FrameGraphResourceHandle

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

Identifies a resource that participates in the frame graph.

public readonly record struct FrameGraphResourceHandle : IEquatable<FrameGraphResourceHandle>
Implements
Inherited Members

Constructors

FrameGraphResourceHandle(int)

Identifies a resource that participates in the frame graph.

public FrameGraphResourceHandle(int Value)

Parameters

Value int

Properties

IsValid

Whether the handle refers to a resource. A handle with a negative Value is not valid.

public bool IsValid { get; }

Property Value

bool

Value

public int Value { get; init; }

Property Value

int

Methods

ToString()

Returns the handle as text, such as Resource(3), or Resource(<invalid>) when it is not valid.

public override string ToString()

Returns

string