ColorBufferShadow

interface ColorBufferShadow

Functions

destroy
Link copied to clipboard
abstract fun destroy()
download
Link copied to clipboard
abstract fun download()
get
Link copied to clipboard
open operator fun get(x: Int, y: Int): ColorRGBa
read
Link copied to clipboard
abstract fun read(x: Int, y: Int): ColorRGBa
set
Link copied to clipboard
open operator fun set(x: Int, y: Int, c: ColorRGBa)
upload
Link copied to clipboard
abstract fun upload()
write
Link copied to clipboard
open fun write(x: Int, y: Int, color: ColorRGBa)
abstract fun write(x: Int, y: Int, r: Double, g: Double, b: Double, a: Double)
open fun write(x: Int, y: Int, r: Float, g: Float, b: Float, a: Float)
writer
Link copied to clipboard
abstract fun writer(): BufferWriter

Properties

buffer
Link copied to clipboard
abstract val buffer: ByteBuffer
colorBuffer
Link copied to clipboard
abstract val colorBuffer: ColorBuffer