BufferTexture

expect abstract class BufferTexture
actual abstract class BufferTexture
actual abstract class BufferTexture

Constructors

Link copied to clipboard
fun BufferTexture()
fun BufferTexture()

Types

Link copied to clipboard
object Companion

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
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)

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

Extensions

Link copied to clipboard
fun BufferTexture.imageBinding(imageAccess: ImageAccess): BufferTextureImageBinding

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard