createShaderStorageBuffer
expect abstract fun createShaderStorageBuffer(format: ShaderStorageFormat, session: Session? = Session.active): ShaderStorageBuffer(source)
Creates a shader storage buffer with the specified format and session.
Return
A new instance of ShaderStorageBuffer configured with the given format and session.
Parameters
format
The format of the shader storage buffer, defining its structure and layout.
session
The session to which the buffer will be bound. If not provided, the active session is used.
actual abstract fun createShaderStorageBuffer(format: ShaderStorageFormat, session: Session?): ShaderStorageBuffer(source)
actual abstract fun createShaderStorageBuffer(format: ShaderStorageFormat, session: Session?): ShaderStorageBuffer(source)