Trait gfx_core::format::Formatted [−][src]
pub trait Formatted { type Surface: SurfaceTyped; type Channel: ChannelTyped; type View; fn get_format() -> Format { ... } }
Compile-time full format trait.
Associated Types
type Surface: SurfaceTyped
Associated surface type.
type Channel: ChannelTyped
Associated channel type.
type View
Shader view type of this format.
Provided Methods
fn get_format() -> Format
Return the run-time value of the type.
Implementations on Foreign Types
impl Formatted for (R4_G4, Unorm)
[src]
impl Formatted for (R4_G4, Unorm)
type Surface = R4_G4
type Channel = Unorm
type View = Vec2<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R4_G4_B4_A4, Unorm)
[src]
impl Formatted for (R4_G4_B4_A4, Unorm)
type Surface = R4_G4_B4_A4
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R5_G5_B5_A1, Unorm)
[src]
impl Formatted for (R5_G5_B5_A1, Unorm)
type Surface = R5_G5_B5_A1
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R5_G6_B5, Unorm)
[src]
impl Formatted for (R5_G6_B5, Unorm)
type Surface = R5_G6_B5
type Channel = Unorm
type View = Vec3<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8, Int)
[src]
impl Formatted for (R8, Int)
type Surface = R8
type Channel = Int
type View = Vec1<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8, Uint)
[src]
impl Formatted for (R8, Uint)
type Surface = R8
type Channel = Uint
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8, Inorm)
[src]
impl Formatted for (R8, Inorm)
type Surface = R8
type Channel = Inorm
type View = Vec1<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8, Unorm)
[src]
impl Formatted for (R8, Unorm)
type Surface = R8
type Channel = Unorm
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8, Int)
[src]
impl Formatted for (R8_G8, Int)
type Surface = R8_G8
type Channel = Int
type View = Vec2<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8, Uint)
[src]
impl Formatted for (R8_G8, Uint)
type Surface = R8_G8
type Channel = Uint
type View = Vec2<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8, Inorm)
[src]
impl Formatted for (R8_G8, Inorm)
type Surface = R8_G8
type Channel = Inorm
type View = Vec2<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8, Unorm)
[src]
impl Formatted for (R8_G8, Unorm)
type Surface = R8_G8
type Channel = Unorm
type View = Vec2<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8_B8_A8, Int)
[src]
impl Formatted for (R8_G8_B8_A8, Int)
type Surface = R8_G8_B8_A8
type Channel = Int
type View = Vec4<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8_B8_A8, Uint)
[src]
impl Formatted for (R8_G8_B8_A8, Uint)
type Surface = R8_G8_B8_A8
type Channel = Uint
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8_B8_A8, Inorm)
[src]
impl Formatted for (R8_G8_B8_A8, Inorm)
type Surface = R8_G8_B8_A8
type Channel = Inorm
type View = Vec4<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8_B8_A8, Unorm)
[src]
impl Formatted for (R8_G8_B8_A8, Unorm)
type Surface = R8_G8_B8_A8
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R8_G8_B8_A8, Srgb)
[src]
impl Formatted for (R8_G8_B8_A8, Srgb)
type Surface = R8_G8_B8_A8
type Channel = Srgb
type View = Vec4<<Srgb as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R10_G10_B10_A2, Uint)
[src]
impl Formatted for (R10_G10_B10_A2, Uint)
type Surface = R10_G10_B10_A2
type Channel = Uint
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R10_G10_B10_A2, Unorm)
[src]
impl Formatted for (R10_G10_B10_A2, Unorm)
type Surface = R10_G10_B10_A2
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R11_G11_B10, Unorm)
[src]
impl Formatted for (R11_G11_B10, Unorm)
type Surface = R11_G11_B10
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R11_G11_B10, Float)
[src]
impl Formatted for (R11_G11_B10, Float)
type Surface = R11_G11_B10
type Channel = Float
type View = Vec4<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16, Int)
[src]
impl Formatted for (R16, Int)
type Surface = R16
type Channel = Int
type View = Vec1<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16, Uint)
[src]
impl Formatted for (R16, Uint)
type Surface = R16
type Channel = Uint
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16, Inorm)
[src]
impl Formatted for (R16, Inorm)
type Surface = R16
type Channel = Inorm
type View = Vec1<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16, Unorm)
[src]
impl Formatted for (R16, Unorm)
type Surface = R16
type Channel = Unorm
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16, Float)
[src]
impl Formatted for (R16, Float)
type Surface = R16
type Channel = Float
type View = Vec1<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16, Int)
[src]
impl Formatted for (R16_G16, Int)
type Surface = R16_G16
type Channel = Int
type View = Vec2<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16, Uint)
[src]
impl Formatted for (R16_G16, Uint)
type Surface = R16_G16
type Channel = Uint
type View = Vec2<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16, Inorm)
[src]
impl Formatted for (R16_G16, Inorm)
type Surface = R16_G16
type Channel = Inorm
type View = Vec2<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16, Unorm)
[src]
impl Formatted for (R16_G16, Unorm)
type Surface = R16_G16
type Channel = Unorm
type View = Vec2<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16, Float)
[src]
impl Formatted for (R16_G16, Float)
type Surface = R16_G16
type Channel = Float
type View = Vec2<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16, Int)
[src]
impl Formatted for (R16_G16_B16, Int)
type Surface = R16_G16_B16
type Channel = Int
type View = Vec3<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16, Uint)
[src]
impl Formatted for (R16_G16_B16, Uint)
type Surface = R16_G16_B16
type Channel = Uint
type View = Vec3<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16, Inorm)
[src]
impl Formatted for (R16_G16_B16, Inorm)
type Surface = R16_G16_B16
type Channel = Inorm
type View = Vec3<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16, Unorm)
[src]
impl Formatted for (R16_G16_B16, Unorm)
type Surface = R16_G16_B16
type Channel = Unorm
type View = Vec3<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16, Float)
[src]
impl Formatted for (R16_G16_B16, Float)
type Surface = R16_G16_B16
type Channel = Float
type View = Vec3<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16_A16, Int)
[src]
impl Formatted for (R16_G16_B16_A16, Int)
type Surface = R16_G16_B16_A16
type Channel = Int
type View = Vec4<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16_A16, Uint)
[src]
impl Formatted for (R16_G16_B16_A16, Uint)
type Surface = R16_G16_B16_A16
type Channel = Uint
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16_A16, Inorm)
[src]
impl Formatted for (R16_G16_B16_A16, Inorm)
type Surface = R16_G16_B16_A16
type Channel = Inorm
type View = Vec4<<Inorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16_A16, Unorm)
[src]
impl Formatted for (R16_G16_B16_A16, Unorm)
type Surface = R16_G16_B16_A16
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R16_G16_B16_A16, Float)
[src]
impl Formatted for (R16_G16_B16_A16, Float)
type Surface = R16_G16_B16_A16
type Channel = Float
type View = Vec4<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32, Int)
[src]
impl Formatted for (R32, Int)
type Surface = R32
type Channel = Int
type View = Vec1<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32, Uint)
[src]
impl Formatted for (R32, Uint)
type Surface = R32
type Channel = Uint
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32, Float)
[src]
impl Formatted for (R32, Float)
type Surface = R32
type Channel = Float
type View = Vec1<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32, Int)
[src]
impl Formatted for (R32_G32, Int)
type Surface = R32_G32
type Channel = Int
type View = Vec2<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32, Uint)
[src]
impl Formatted for (R32_G32, Uint)
type Surface = R32_G32
type Channel = Uint
type View = Vec2<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32, Float)
[src]
impl Formatted for (R32_G32, Float)
type Surface = R32_G32
type Channel = Float
type View = Vec2<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32, Int)
[src]
impl Formatted for (R32_G32_B32, Int)
type Surface = R32_G32_B32
type Channel = Int
type View = Vec3<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32, Uint)
[src]
impl Formatted for (R32_G32_B32, Uint)
type Surface = R32_G32_B32
type Channel = Uint
type View = Vec3<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32, Float)
[src]
impl Formatted for (R32_G32_B32, Float)
type Surface = R32_G32_B32
type Channel = Float
type View = Vec3<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32_A32, Int)
[src]
impl Formatted for (R32_G32_B32_A32, Int)
type Surface = R32_G32_B32_A32
type Channel = Int
type View = Vec4<<Int as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32_A32, Uint)
[src]
impl Formatted for (R32_G32_B32_A32, Uint)
type Surface = R32_G32_B32_A32
type Channel = Uint
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (R32_G32_B32_A32, Float)
[src]
impl Formatted for (R32_G32_B32_A32, Float)
type Surface = R32_G32_B32_A32
type Channel = Float
type View = Vec4<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (B8_G8_R8_A8, Unorm)
[src]
impl Formatted for (B8_G8_R8_A8, Unorm)
type Surface = B8_G8_R8_A8
type Channel = Unorm
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (B8_G8_R8_A8, Srgb)
[src]
impl Formatted for (B8_G8_R8_A8, Srgb)
type Surface = B8_G8_R8_A8
type Channel = Srgb
type View = Vec4<<Srgb as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (D16, Unorm)
[src]
impl Formatted for (D16, Unorm)
type Surface = D16
type Channel = Unorm
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (D24, Unorm)
[src]
impl Formatted for (D24, Unorm)
type Surface = D24
type Channel = Unorm
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (D24_S8, Unorm)
[src]
impl Formatted for (D24_S8, Unorm)
type Surface = D24_S8
type Channel = Unorm
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (D24_S8, Uint)
[src]
impl Formatted for (D24_S8, Uint)
type Surface = D24_S8
type Channel = Uint
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
impl Formatted for (D32, Float)
[src]
impl Formatted for (D32, Float)
type Surface = D32
type Channel = Float
type View = Vec1<<Float as ChannelTyped>::ShaderType>
fn get_format() -> Format
[src]
fn get_format() -> Format
Implementors
impl Formatted for Vec1<u8> type Surface = R8; type Channel = Uint; type View = Vec1<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<u8> type Surface = R8_G8; type Channel = Uint; type View = Vec2<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<u8> type Surface = R8_G8_B8_A8; type Channel = Uint; type View = Vec4<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<i8> type Surface = R8; type Channel = Int; type View = Vec1<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<i8> type Surface = R8_G8; type Channel = Int; type View = Vec2<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<i8> type Surface = R8_G8_B8_A8; type Channel = Int; type View = Vec4<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<U8Norm> type Surface = R8; type Channel = Unorm; type View = Vec1<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<U8Norm> type Surface = R8_G8; type Channel = Unorm; type View = Vec2<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<U8Norm> type Surface = R8_G8_B8_A8; type Channel = Unorm; type View = Vec4<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<I8Norm> type Surface = R8; type Channel = Inorm; type View = Vec1<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<I8Norm> type Surface = R8_G8; type Channel = Inorm; type View = Vec2<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<I8Norm> type Surface = R8_G8_B8_A8; type Channel = Inorm; type View = Vec4<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<u16> type Surface = R16; type Channel = Uint; type View = Vec1<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<u16> type Surface = R16_G16; type Channel = Uint; type View = Vec2<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<u16> type Surface = R16_G16_B16; type Channel = Uint; type View = Vec3<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<u16> type Surface = R16_G16_B16_A16; type Channel = Uint; type View = Vec4<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<i16> type Surface = R16; type Channel = Int; type View = Vec1<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<i16> type Surface = R16_G16; type Channel = Int; type View = Vec2<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<i16> type Surface = R16_G16_B16; type Channel = Int; type View = Vec3<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<i16> type Surface = R16_G16_B16_A16; type Channel = Int; type View = Vec4<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<U16Norm> type Surface = R16; type Channel = Unorm; type View = Vec1<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<U16Norm> type Surface = R16_G16; type Channel = Unorm; type View = Vec2<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<U16Norm> type Surface = R16_G16_B16; type Channel = Unorm; type View = Vec3<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<U16Norm> type Surface = R16_G16_B16_A16; type Channel = Unorm; type View = Vec4<<Unorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<I16Norm> type Surface = R16; type Channel = Inorm; type View = Vec1<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<I16Norm> type Surface = R16_G16; type Channel = Inorm; type View = Vec2<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<I16Norm> type Surface = R16_G16_B16; type Channel = Inorm; type View = Vec3<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<I16Norm> type Surface = R16_G16_B16_A16; type Channel = Inorm; type View = Vec4<<Inorm as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<F16> type Surface = R16; type Channel = Float; type View = Vec1<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<F16> type Surface = R16_G16; type Channel = Float; type View = Vec2<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<F16> type Surface = R16_G16_B16; type Channel = Float; type View = Vec3<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<F16> type Surface = R16_G16_B16_A16; type Channel = Float; type View = Vec4<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<u32> type Surface = R32; type Channel = Uint; type View = Vec1<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<u32> type Surface = R32_G32; type Channel = Uint; type View = Vec2<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<u32> type Surface = R32_G32_B32; type Channel = Uint; type View = Vec3<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<u32> type Surface = R32_G32_B32_A32; type Channel = Uint; type View = Vec4<<Uint as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<i32> type Surface = R32; type Channel = Int; type View = Vec1<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<i32> type Surface = R32_G32; type Channel = Int; type View = Vec2<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<i32> type Surface = R32_G32_B32; type Channel = Int; type View = Vec3<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<i32> type Surface = R32_G32_B32_A32; type Channel = Int; type View = Vec4<<Int as ChannelTyped>::ShaderType>;
impl Formatted for Vec1<f32> type Surface = R32; type Channel = Float; type View = Vec1<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec2<f32> type Surface = R32_G32; type Channel = Float; type View = Vec2<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec3<f32> type Surface = R32_G32_B32; type Channel = Float; type View = Vec3<<Float as ChannelTyped>::ShaderType>;
impl Formatted for Vec4<f32> type Surface = R32_G32_B32_A32; type Channel = Float; type View = Vec4<<Float as ChannelTyped>::ShaderType>;