Create a custom fragment shader for a sprite layer. Pass the result as the customShader option of createSprite2DLayer. See the module-level docs for the WGSL contract.
customShader
createSprite2DLayer
Create a custom fragment shader for a sprite layer. Pass the result as the
customShaderoption ofcreateSprite2DLayer. See the module-level docs for the WGSL contract.