BufferTexture

expect abstract class BufferTexture(source)
actual abstract class BufferTexture(source)
actual abstract class BufferTexture(source)

Constructors

Link copied to clipboard
constructor()
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
expect abstract val elementCount: Int
actual abstract val elementCount: Int
actual abstract val elementCount: Int
Link copied to clipboard
expect abstract val format: ColorFormat
actual abstract val format: ColorFormat
actual abstract val format: ColorFormat
Link copied to clipboard
expect abstract val session: Session?
actual abstract val session: Session?
actual abstract val session: Session?
Link copied to clipboard
expect abstract val shadow: BufferTextureShadow
actual abstract val shadow: BufferTextureShadow
actual abstract val shadow: BufferTextureShadow
Link copied to clipboard
expect abstract val type: ColorType
actual abstract val type: ColorType
actual abstract val type: ColorType

Functions

Link copied to clipboard
expect abstract fun bind(unit: Int)

bind the BufferTexture to a texture unit

actual abstract fun bind(unit: Int)

bind the BufferTexture to a texture unit

actual abstract fun bind(unit: Int)

bind the BufferTexture to a texture unit

Link copied to clipboard
expect abstract fun destroy()
actual abstract fun destroy()
actual abstract fun destroy()
Link copied to clipboard
Link copied to clipboard
fun put(putter: BufferWriter.() -> Unit): Int
Link copied to clipboard
abstract fun read(target: ByteBuffer, offset: Int = 0, elementReadCount: Int = this.elementCount)
Link copied to clipboard
fun saveToFile(file: File, fileFormat: BufferTextureFileFormat = BufferTextureFileFormat.ORB)
Link copied to clipboard
abstract fun write(source: ByteBuffer, offset: Int = 0, elementWriteCount: Int = this.elementCount)