ShaderStorageBufferGL43

class ShaderStorageBufferGL43(val buffer: Int, val format: ShaderStorageFormat, val session: Session? = Session.active) : ShaderStorageBuffer(source)

Constructors

Link copied to clipboard
constructor(buffer: Int, format: ShaderStorageFormat, session: Session? = Session.active)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val buffer: Int
Link copied to clipboard
open override val format: ShaderStorageFormat
Link copied to clipboard
open override val session: Session?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun createByteBuffer(): ByteBuffer

Create a byte buffer matching the format size to be able to download the SSBO to the CPU. Note that the buffer will contain padding following elements that need it.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun put(elementOffset: Int, putter: BufferWriterStd430.() -> Unit): Int
Link copied to clipboard
open override fun read(target: ByteBuffer, readOffset: Int)
Link copied to clipboard
open override fun vertexBufferView(elementName: String?): VertexBuffer
Link copied to clipboard
open override fun write(source: ByteBuffer, writeOffset: Int)