Type Definition gfx_core::format::Vec4 [−][src]
type Vec4<T> = [T; 4];
Abstracted 4-element container for macro internal use
Trait Implementations
impl Formatted for Vec4<u8>[src]
impl Formatted for Vec4<u8>type Surface = R8_G8_B8_A8
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<i8>[src]
impl Formatted for Vec4<i8>type Surface = R8_G8_B8_A8
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec4<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<U8Norm>[src]
impl Formatted for Vec4<U8Norm>type Surface = R8_G8_B8_A8
Associated surface type.
type Channel = Unorm
Associated channel type.
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<I8Norm>[src]
impl Formatted for Vec4<I8Norm>type Surface = R8_G8_B8_A8
Associated surface type.
type Channel = Inorm
Associated channel type.
type View = Vec4<<Inorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<u16>[src]
impl Formatted for Vec4<u16>type Surface = R16_G16_B16_A16
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<i16>[src]
impl Formatted for Vec4<i16>type Surface = R16_G16_B16_A16
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec4<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<U16Norm>[src]
impl Formatted for Vec4<U16Norm>type Surface = R16_G16_B16_A16
Associated surface type.
type Channel = Unorm
Associated channel type.
type View = Vec4<<Unorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<I16Norm>[src]
impl Formatted for Vec4<I16Norm>type Surface = R16_G16_B16_A16
Associated surface type.
type Channel = Inorm
Associated channel type.
type View = Vec4<<Inorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<F16>[src]
impl Formatted for Vec4<F16>type Surface = R16_G16_B16_A16
Associated surface type.
type Channel = Float
Associated channel type.
type View = Vec4<<Float as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<u32>[src]
impl Formatted for Vec4<u32>type Surface = R32_G32_B32_A32
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec4<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<i32>[src]
impl Formatted for Vec4<i32>type Surface = R32_G32_B32_A32
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec4<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec4<f32>[src]
impl Formatted for Vec4<f32>type Surface = R32_G32_B32_A32
Associated surface type.
type Channel = Float
Associated channel type.
type View = Vec4<<Float as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.