Table of Contents

Struct RenderEncoderPassMetrics

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

The counts for one pass, as PassMetrics reports them.

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

Constructors

RenderEncoderPassMetrics(string, RenderPassTag, int, int, int, int)

The counts for one pass, as PassMetrics reports them.

public RenderEncoderPassMetrics(string Name, RenderPassTag PassTag, int SubmittedSprites, int SubmittedShapes, int SubmittedCallbacks, int BackendFlushes)

Parameters

Name string

The pass's name.

PassTag RenderPassTag

The tag the pass was submitted under.

SubmittedSprites int

The sprites submitted to the pass.

SubmittedShapes int

The shapes submitted to the pass.

SubmittedCallbacks int

The draw callbacks submitted to the pass.

BackendFlushes int

The times a batch was flushed to the backend for the pass.

Properties

BackendFlushes

The times a batch was flushed to the backend for the pass.

public int BackendFlushes { get; init; }

Property Value

int

Name

The pass's name.

public string Name { get; init; }

Property Value

string

PassTag

The tag the pass was submitted under.

public RenderPassTag PassTag { get; init; }

Property Value

RenderPassTag

SubmittedCallbacks

The draw callbacks submitted to the pass.

public int SubmittedCallbacks { get; init; }

Property Value

int

SubmittedShapes

The shapes submitted to the pass.

public int SubmittedShapes { get; init; }

Property Value

int

SubmittedSprites

The sprites submitted to the pass.

public int SubmittedSprites { get; init; }

Property Value

int