openrndr / org.openrndr.draw / ShaderStorageBuffer

ShaderStorageBuffer

interface ShaderStorageBuffer (source)

Properties

format

abstract val format: ShaderStorageFormat

session

abstract val session: Session?

Functions

bind

abstract fun bind(base: Int): Unit

clear

abstract fun clear(): Unit

destroy

abstract fun destroy(): Unit

read

abstract fun read(target: ByteBuffer, readOffset: Int = 0): Unit

write

abstract fun write(source: ByteBuffer, writeOffset: Int = 0): Unit