/std140.rs

GLSL interface block memory, layed-out according to the std140 convention, represented as Rust structs.

Primary LanguageRust

Std140.rs

Crates.io docs.rs docs

Provides types and an attribute macro to help write Rust structs with a memory layout that matches the std140 memory layout as used for GLSL interface blocks (e.g. uniform blocks).

Please refer to the documentation for details.