macro_rules! array {
    ($elem:expr; $n:expr) => { ... };
    ($($x:expr),*) => { ... };
    ($($x:expr,)*) => { ... };
}
Expand description

Initializes a std140 array.

Example

let std140_array: std140::array<std140::vec2, 2> = std140::array![
    std140::vec2(1.0, 0.0),
    std140::vec2(0.0, 1.0),
];