WRLD (Wgpu Rust Language Descriptor)
WRLD is a set of derive macro to make easy, pleasent and more safe wgpu code.
WRLD description is based on Learn wgpu tutorial.
WARNING : Be aware that WRLD is still under development and should not be use on a "production ready" code.
Motivation
The main reason of wrld was to create VertexBufferLayout with only one macro that support all of the type that wgpu support natively.
However the more i develop it. The more i see features that could be implemented that wgpu dosen't support out of the box.
Getting started
To get started with wrld, just put wrld in your cargo.toml dependency
= "Your version"
And that's it.
Example
basic rust structure.
With WRLD :
use Desc;
// or
Will produce