I believe this call is missing the "border" parameter which results in the following exception:
Microsoft.JSInterop.JSException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Overload resolution failed.
TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Overload resolution failed.
https://github.com/BlazorExtensions/Canvas/blob/3d9b5e6eccb0a66d34172f07ceeb8b7f4d82aaec/src/Blazor.Extensions.Canvas/WebGL/WebGLContext.cs#L411
I believe this call is missing the "border" parameter which results in the following exception:
According to the API documentation all overloads must have the border parameter (or shouldn't have the width and height): https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D