createComputeShader
Creates a compute shader from the provided source code.
Return
A ComputeShader instance created from the provided source code.
Parameters
The GLSL source code for the compute shader.
A name used to identify the compute shader, primarily for debugging or logging purposes.
The session associated with this compute shader. Defaults to the currently active session if not provided.
Creates a compute shader from the provided source code.
Return
A ComputeShader instance created from the provided source code.
Parameters
The GLSL source code for the compute shader.
A name used to identify the compute shader, primarily for debugging or logging purposes.
The session associated with this compute shader. Defaults to the currently active session if not provided.
Creates a compute shader from the provided source code.
Return
A ComputeShader instance created from the provided source code.
Parameters
The GLSL source code for the compute shader.
A name used to identify the compute shader, primarily for debugging or logging purposes.
The session associated with this compute shader. Defaults to the currently active session if not provided.