gpujs / gpujs/gpu.js

Suggestion: Classes for variables inside the kernel

Open
#517 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.