excubo-ag / Blazor.Canvas

Home Page:https://excubo-ag.github.io/Blazor.Canvas/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ContextWebGL

GeorgeS2019 opened this issue · comments

Great job for Context2D. It seems complete.
Is there a plan to support ContextWebGL as complete as Context2D eventually?

Hi @GeorgeS2019,

at the moment there is no ETA for other contexts. The APIs are rather large, so it doesn't seem wise to implement it all by hand. The best approach (to minimize bugs) is probably to write a source generator and have that generate the correct code instead. Sadly, source generators can't be considered stable so far, so starting with the implementation of a rather complicated one now is maybe a bit premature.

That being said, of course a pull request for additional context implementations is something I'd gladly have a look at.

BR
Stefan