uvs

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

Specifies the vertex texture coordinates. Stride is the byte offset between consecutive UVs.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of UV coordinates, each with 2 floats.

stride

Byte offset between consecutive UVs. 0 means tightly packed.

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

Specifies the vertex texture coordinates. Stride is the byte offset between consecutive UVs.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of UV coordinates, each with 2 floats.

stride

Byte offset between consecutive UVs. 0 means tightly packed.

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

Specifies the vertex texture coordinates. Stride is the byte offset between consecutive UVs.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of UV coordinates, each with 2 floats.

stride

Byte offset between consecutive UVs. 0 means tightly packed.

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

Specifies the vertex texture coordinates. Stride is the byte offset between consecutive UVs.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of UV coordinates, each with 2 floats.

stride

Byte offset between consecutive UVs. 0 means tightly packed.

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

Specifies the vertex texture coordinates. Stride is the byte offset between consecutive UVs.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of UV coordinates, each with 2 floats.

stride

Byte offset between consecutive UVs. 0 means tightly packed.