Class
WebGLShaderModule
View sourceWebGPU-shaped shader module wrapper for WebGL render pipeline setup.
The module owns a compiled WebGLShader and keeps the WebGL context that created it so the resource behaves like the other GPU-side wrappers.
Class
WebGPU-shaped shader module wrapper for WebGL render pipeline setup.
The module owns a compiled WebGLShader and keeps the WebGL context that created it so the resource behaves like the other GPU-side wrappers.
constructor ( context: WebGL2RenderingContext , inner: WebGLShader , stage: "vertex" | "fragment" , label?: string )