BufferWriter

abstract class BufferWriter

Functions

copyBuffer
Link copied to clipboard
abstract fun copyBuffer(sourceBuffer: ByteBuffer, sourceOffset: Int, sourceSizeInBytes: Int)
rewind
Link copied to clipboard
common
abstract fun rewind()

rewind the underlying buffer

write
Link copied to clipboard
abstract fun write(vararg v: Vector3)
abstract fun write(v: Byte)
abstract fun write(v: Float)
abstract fun write(v: Int)
abstract fun write(v: Short)
abstract fun write(v: ColorRGBa)
abstract fun write(v: IntVector2)
abstract fun write(v: IntVector3)
abstract fun write(v: IntVector4)
abstract fun write(v: Matrix33)
abstract fun write(v: Matrix44)
abstract fun write(v: Vector2)
abstract fun write(v: Vector3)
abstract fun write(v: Vector4)
abstract fun write(x: Float, y: Float)
abstract fun write(x: Float, y: Float, z: Float)
abstract fun write(a: FloatArray, offset: Int = 0, size: Int = a.size)
abstract fun write(x: Float, y: Float, z: Float, w: Float)
abstract fun write(v: Byte)
abstract fun write(v: Float)
abstract fun write(v: Int)
abstract fun write(v: Short)
abstract fun write(x: Float, y: Float)
abstract fun write(x: Float, y: Float, z: Float)
abstract fun write(a: FloatArray, offset: Int = 0, size: Int = a.size)
abstract fun write(x: Float, y: Float, z: Float, w: Float)

Properties

position
Link copied to clipboard
abstract var position: Int
positionElements
Link copied to clipboard
abstract var positionElements: Int

Extensions

write
Link copied to clipboard
common
fun BufferWriter.write(drawStyle: DrawStyle)