Table of Contents

Class BatchBase<TDrawInfo>.QueueComparer<TInfo>

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll
protected abstract class BatchBase<TDrawInfo>.QueueComparer<TInfo> : IComparer<int>

Type Parameters

TInfo
Inheritance
BatchBase<TDrawInfo>.QueueComparer<TInfo>
Implements

Fields

ImageInfos

public TInfo[] ImageInfos

Field Value

TInfo[]

Methods

Compare(int, int)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

public abstract int Compare(int x, int y)

Parameters

x int

The first object to compare.

y int

The second object to compare.

Returns

int

A signed integer that indicates the relative values of x and y, as shown in the following table.

Value Meaning
Less than zerox is less than y.
Zerox equals y.
Greater than zerox is greater than y.