Class
WebGLCommandEncoder
View sourceWebGPU-shaped command encoder for the WebGL backend.
The encoder executes immediately against the WebGL context. finish() is
kept as a compatibility hook so WebGPU-shaped call sites still read cleanly.
Constructor
View source
Methods
beginRenderPass ( descriptor: WebGLRenderPassDescriptor ) : WebGLRenderPassEncoder
View source WebGPU-style pass entry point.
finish ( ) : WebGLCommandEncoder
View source WebGPU compatibility hook. WebGL executes commands immediately, so this returns the encoder itself.