Is there anything specific I need to do to use web...
# webassembly
m
Is there anything specific I need to do to use webgl? I see in some other posts to use
org.khronos.webgl.*
but I get an unknown import on
org
. In my build.gradle.kts I have
Copy code
kotlin {
    wasmJs {
        browser()
    }
    // ...
}
w
Sounds like you're missing https://github.com/Kotlin/kotlinx-browser ?
✅ 1
t
if you need full/latest declarations (including WebGL 2) - kotlin-browser from Kotlin Wrappers is what you need 😉
WebGPU is also supported 😉