johann2 / std140.rs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Rust 100.0%