ShaderStorageBufferGL43
data class ShaderStorageBufferGL43(val buffer: Int, val ownsBuffer: Boolean, val format: ShaderStorageFormat, val session: Session? = Session.active) : ShaderStorageBuffer(source)
Represents an OpenGL Shader Storage Buffer Object (SSBO) for use in the OpenGL 4.3+ context.
This class is utilized to manage shader storage buffers, allowing them to be cleared, written to, read from, and manipulated as per the shader storage format provided. The ShaderStorageBufferGL43 is tied to a session and its lifecycle can be controlled through the session or its manual destruction.
Constructors
Link copied to clipboard
constructor(buffer: Int, ownsBuffer: Boolean, format: ShaderStorageFormat, session: Session? = Session.active)