Macro nif::common::const_uvec4 [−][src]
macro_rules! const_uvec4 { ($ux4 : expr) => { ... }; }
Expand description
Creates a UVec4
that can be used to initialize a constant value.
use glam::{const_uvec4, UVec4}; const ONE: UVec4 = const_uvec4!([1; 4]); const X: UVec4 = const_uvec4!([1, 0, 0, 0]);