Join Slack
Powered by
Are kotlin/webgl2 api in the works, or are we stuc...
# announcements
i
ikt
07/01/2018, 3:23 PM
Are kotlin/webgl2 api in the works, or are we stuck with webgl1 ?
k
karelpeeters
07/01/2018, 3:24 PM
I was gonna like this
simple smile
https://discuss.kotlinlang.org/t/kotlin-js-webgl2-support/8325
i
ikt
07/01/2018, 3:25 PM
that nick looks familiar, even identical
ikt
07/01/2018, 3:26 PM
I can't think of any technical reasons why WebGL2 bindings would be more difficult than WebGL bindings. Can you ?
ikt
07/01/2018, 3:26 PM
iirc, it's just handle canvas.getContext("webgl2"), and bind the new WebGL2 functions
k
karelpeeters
07/01/2018, 3:27 PM
I'm not very familiar with webdev at all, so I would know.
karelpeeters
07/01/2018, 3:30 PM
Maybe
#C0B8L3U69
is a better place actually.
g
gildor
07/01/2018, 3:37 PM
Probably make sense to create an issue
kotl.in/issue
Also if you decide to write type definition yourself you can contribute it to
https://github.com/Kotlin/js-externals
14
Views
Open in Slack
Previous
Next