Table of Contents

Class FrameGraphResourceInfo

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

A resource that a frame graph declares: its handle, its name, how it is described, and whether it was imported rather than made by the graph.

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

Constructors

FrameGraphResourceInfo(FrameGraphResourceHandle, string, FrameGraphResourceDescriptor, bool)

A resource that a frame graph declares: its handle, its name, how it is described, and whether it was imported rather than made by the graph.

public FrameGraphResourceInfo(FrameGraphResourceHandle Handle, string Name, FrameGraphResourceDescriptor Descriptor, bool IsImported)

Parameters

Handle FrameGraphResourceHandle

The resource's handle.

Name string

The resource's name.

Descriptor FrameGraphResourceDescriptor

How the resource is described.

IsImported bool

Whether the resource was imported rather than made by the graph.

Properties

Descriptor

How the resource is described.

public FrameGraphResourceDescriptor Descriptor { get; init; }

Property Value

FrameGraphResourceDescriptor

Handle

The resource's handle.

public FrameGraphResourceHandle Handle { get; init; }

Property Value

FrameGraphResourceHandle

IsImported

Whether the resource was imported rather than made by the graph.

public bool IsImported { get; init; }

Property Value

bool

Name

The resource's name.

public string Name { get; init; }

Property Value

string