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]
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
Return the run-time value of the type.
impl Formatted for Vec4<i8>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<U8Norm>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<I8Norm>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<u16>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<i16>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<U16Norm>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<I16Norm>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<F16>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<u32>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<i32>
[src]
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
Return the run-time value of the type.
impl Formatted for Vec4<f32>
[src]
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
Return the run-time value of the type.