positions

actual fun positions(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.

expect fun positions(buffer: FloatArray, stride: Int = 0): SurfaceOrientation.Builder

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.

actual fun positions(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.

actual fun positions(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.

actual fun positions(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.