Skip to content

SDL3BatchRenderer.VertexOffsetToFirstIndex(int) Method

Definition

Namespace: Brine2D.Rendering

Converts a vertex offset \(always quad\-aligned\) to the corresponding first-index offset in the static index buffer.

C#
public static int VertexOffsetToFirstIndex(int firstVertex);

Parameters

firstVertex System.Int32

Returns

System.Int32