BufferTexture

abstract class BufferTexture

Types

Companion
Link copied to clipboard
object Companion

Functions

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

bind the BufferTexture to a texture unit

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

Properties

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

Extensions

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