fabmax / kool

An OpenGL / WebGPU engine for Desktop JVM, Android and Javascript written in Kotlin
https://fabmax.github.io/kool/kool-js
Apache License 2.0
273 stars 16 forks source link

Added raw shader op #39

Closed andrey-zakharov closed 1 year ago

andrey-zakharov commented 1 year ago

(Proposal to reduce friction while in beta :)

fabmax commented 1 year ago

I think the implementation of opRaw() in GlslGenerator is missing in this PR. And I think the name raw is not the best. Something like inlineCode("...") might be better.

andrey-zakharov commented 1 year ago

Ups, some changes messed in another branch in GlslGenerator. Fixed.