createComputeShader
expect abstract fun createComputeShader(code: String, name: String, session: Session? = Session.active): ComputeShader(source)
Creates a compute shader from the provided source code.
Return
A ComputeShader instance created from the provided source code.
Parameters
code
The GLSL source code for the compute shader.
name
A name used to identify the compute shader, primarily for debugging or logging purposes.
session
The session associated with this compute shader. Defaults to the currently active session if not provided.
actual abstract fun createComputeShader(code: String, name: String, session: Session?): ComputeShader(source)
actual abstract fun createComputeShader(code: String, name: String, session: Session?): ComputeShader(source)