write

abstract fun write(side: CubemapSide, layer: Int, buffer: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0)(source)

Write to a single layer in the array texture

Parameters

layer

the layer index to write to

buffer

the ByteBuffer from which texture data is read

sourceFormat

the format of the data in buffer

sourceType

the type of the data in buffer