Struct gfx::device::attrib::Floater
[−]
[src]
pub struct Floater<T>(pub T);
Floating-point version of integer attributes.
Methods
impl<T: Copy> Floater<T>
fn cast2(a: [T; 2]) -> [Floater<T>; 2]
Cast a fixed-size2 array to floating-point.
fn cast3(a: [T; 3]) -> [Floater<T>; 3]
Cast a fixed-size3 array to floating-point.
fn cast4(a: [T; 4]) -> [Floater<T>; 4]
Cast a fixed-size4 array to floating-point.