write

expect abstract fun write(vararg v: Vector3)(source)

Writes one or more 3D vectors to the buffer.

Parameters

v

one or more 3D vectors of type Vector3 to be written


expect abstract fun write(v: Byte)(source)

Writes the provided byte value to the buffer.

Parameters

v

the byte value to be written


expect abstract fun write(v: Short)(source)

Writes the provided 16-bit short integer to the buffer.

Parameters

v

the 16-bit short integer value to be written


expect abstract fun write(v: Vector3)(source)

Writes the provided 3D vector to the buffer.

Parameters

v

the 3D vector to be written


expect abstract fun write(v: Vector2)(source)

Writes the provided 2D vector to the buffer.

Parameters

v

the 2D vector to be written


expect abstract fun write(v: Vector4)(source)

Writes the provided 4D vector to the buffer.

Parameters

v

the 4D vector to be written


expect abstract fun write(v: Int)(source)

Writes the provided integer value to the buffer.

Parameters

v

the integer value to be written


expect abstract fun write(v: IntVector2)(source)

Writes the provided 2D integer vector to the buffer.

Parameters

v

the 2D integer vector to be written


expect abstract fun write(v: IntVector3)(source)

Writes the provided 3D integer vector to the buffer.

Parameters

v

the 3D integer vector to be written


expect abstract fun write(v: IntVector4)(source)

Writes the provided 4D integer vector to the buffer.

Parameters

v

the 4D integer vector to be written


expect abstract fun write(v: Matrix33)(source)

Writes a 3x3 matrix to the buffer.

Parameters

v

the 3x3 matrix to be written


expect abstract fun write(v: Matrix44)(source)

Writes the provided 4x4 matrix to the buffer.

Parameters

v

the 4x4 matrix to be written


expect abstract fun write(v: Float)(source)

Writes the provided floating-point value to the buffer.

Parameters

v

the floating-point value to be written


expect abstract fun write(x: Float, y: Float)(source)

Writes two floating-point values to the buffer.

Parameters

x

the first floating-point value to be written

y

the second floating-point value to be written


expect abstract fun write(x: Float, y: Float, z: Float)(source)

Writes three floating-point values to the buffer.

Parameters

x

the first floating-point value to be written

y

the second floating-point value to be written

z

the third floating-point value to be written


expect abstract fun write(x: Float, y: Float, z: Float, w: Float)(source)

Writes four floating-point values to the buffer.

Parameters

x

the first floating-point value to be written

y

the second floating-point value to be written

z

the third floating-point value to be written

w

the fourth floating-point value to be written


expect abstract fun write(v: ColorRGBa)(source)

Writes the provided color value to the buffer.

Parameters

v

the color value of type ColorRGBa to be written


expect abstract fun write(a: FloatArray, offset: Int = 0, size: Int = a.size)(source)

Writes the specified portion of the provided float array to the buffer starting at the given offset.

Parameters

a

the float array to be written

offset

the starting index in the float array, default is 0

size

the number of elements to write from the float array, default is the size of the array

actual abstract fun write(vararg v: Vector3)(source)
actual abstract fun write(v: Byte)(source)
actual abstract fun write(v: Short)(source)
actual abstract fun write(v: Vector3)(source)
actual abstract fun write(v: Vector2)(source)
actual abstract fun write(v: Vector4)(source)
actual abstract fun write(v: Int)(source)
actual abstract fun write(v: IntVector2)(source)
actual abstract fun write(v: IntVector3)(source)
actual abstract fun write(v: IntVector4)(source)
actual abstract fun write(v: Matrix33)(source)
actual abstract fun write(v: Matrix44)(source)
actual abstract fun write(v: Float)(source)
actual abstract fun write(x: Float, y: Float)(source)
actual abstract fun write(x: Float, y: Float, z: Float)(source)
actual abstract fun write(x: Float, y: Float, z: Float, w: Float)(source)
actual abstract fun write(v: ColorRGBa)(source)
actual abstract fun write(a: FloatArray, offset: Int, size: Int)(source)
actual abstract fun write(vararg v: Vector3)(source)
actual abstract fun write(v: Byte)(source)
actual abstract fun write(v: Short)(source)
actual abstract fun write(v: Vector3)(source)
actual abstract fun write(v: Vector2)(source)
actual abstract fun write(v: Vector4)(source)
actual abstract fun write(v: Int)(source)
actual abstract fun write(v: IntVector2)(source)
actual abstract fun write(v: IntVector3)(source)
actual abstract fun write(v: IntVector4)(source)
actual abstract fun write(v: Matrix33)(source)
actual abstract fun write(v: Matrix44)(source)
actual abstract fun write(v: Float)(source)
actual abstract fun write(x: Float, y: Float)(source)
actual abstract fun write(x: Float, y: Float, z: Float)(source)
actual abstract fun write(x: Float, y: Float, z: Float, w: Float)(source)
actual abstract fun write(v: ColorRGBa)(source)
actual abstract fun write(a: FloatArray, offset: Int, size: Int)(source)