Suggestion: Classes for variables inside the kernel
Open
- Dominant language
- JavaScript
- Stars
- 15.5k
- Forks
- 663
- PR merge metrics
- No merged PRs in 30d
Description
## Suggestion
It would be nice to have classes for the datatypes inside the kernel functions, to use the full potential of the gpu data types. For example, to have a class `Vec2` for the gpu type `vec2`. So I could access the members `x` and `y` and by this have a more readable code.
These classes should also be in the typescript deceleration file, than it can be easily used.
Contributor guide
Assessment
This issue has not been assessed yet.