<@U5UU34LPK> there is something similar
# announcements
p
@karelpeeters there is something similar
k
What?
p
you asked me
Is there a 'GLES20' with a 'glVertexAttribPointer' on JS?
k
Ah okay, that was a while ago with some stuff in between.
Can you give some example code how you want to use FloatBuffer in a multiplatform way?
p
I need to study how webGL works, but for know I would like to know if I can create a script with macros that does different calls based on what compiler it uses. (one part of the source for JVM and another for JS).
k
Yeah you can definitely do that, use
expect
and `actual`: https://kotlinlang.org/docs/reference/multiplatform.html#platform-specific-declarations
❤️ 1