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