macro_rules! array {
($elem:expr; $n:expr) => { ... };
($($x:expr),*) => { ... };
($($x:expr,)*) => { ... };
}
Initializes a std140
array.
let std140_array: std140::array<std140::vec2, 2> = std140::array![
std140::vec2(1.0, 0.0),
std140::vec2(0.0, 1.0),
];