Table of Contents

Struct FrameGraphResourceAllocatorStats

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

A snapshot of the frame graph's transient render targets.

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

Constructors

FrameGraphResourceAllocatorStats(int, int, int)

A snapshot of the frame graph's transient render targets.

public FrameGraphResourceAllocatorStats(int Active, int Pooled, int PeakAllocated)

Parameters

Active int

The targets in use now.

Pooled int

The targets free for reuse.

PeakAllocated int

The most targets in use at once.

Properties

Active

The targets in use now.

public int Active { get; init; }

Property Value

int

PeakAllocated

The most targets in use at once.

public int PeakAllocated { get; init; }

Property Value

int

Pooled

The targets free for reuse.

public int Pooled { get; init; }

Property Value

int