Kotlin/JS WebGL2 Support?

Hi,

I am currently using Kotlin/JS + WebGL – which has been great – the typed interface is really nice.

However, I would like to use webgl2 features. Is this supported at all by Kotlin/JS ?

I tried .getContext(“webgl”) → .getContext(“webgl2”) … but then, I can no longer cast it to a WebGLR3enderingContext

Is WebGL2 support coming? Is there an expected time?

Thanks!

1 Like