The shader.
Compute shader code.
Transpiled fragment shader code.
Transpiled vertex shader code.
Name of the compute entry point function.
Name of the fragment entry point function.
Name of the vertex entry point function.
Free the WebGPU resources associated with a shader.
The shader to free.
Dispose the shader when the context has been lost.
Restore shader after the context has been obtained.
The graphics device.
The shader to restore.
A WebGPU implementation of the Shader.