software-mansion / TypeGPU

TypeScript library that enhances the WebGPU API, allowing resource management in a type-safe, declarative way.
http://typegpu.com
MIT License
143 stars 2 forks source link

Fix vertex buffer type checking #345

Closed reczkok closed 1 month ago

reczkok commented 1 month ago

Make vertex buffers properly check if they are one on the supported types. Currently it only works for vectors and primitives - it should also work for vectors.