[go: up one dir, main page]

Type Alias Vec4

Source
pub type Vec4<T> = [T; 4];
Expand description

Abstracted 4-element container for macro internal use

Trait Implementations§

Source§

impl Formatted for Vec4<F16>

Source§

type Surface = R16_G16_B16_A16

Associated surface type.
Source§

type Channel = Float

Associated channel type.
Source§

type View = [<Float as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<I16Norm>

Source§

type Surface = R16_G16_B16_A16

Associated surface type.
Source§

type Channel = Inorm

Associated channel type.
Source§

type View = [<Inorm as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<I8Norm>

Source§

type Surface = R8_G8_B8_A8

Associated surface type.
Source§

type Channel = Inorm

Associated channel type.
Source§

type View = [<Inorm as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<U16Norm>

Source§

type Surface = R16_G16_B16_A16

Associated surface type.
Source§

type Channel = Unorm

Associated channel type.
Source§

type View = [<Unorm as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<U8Norm>

Source§

type Surface = R8_G8_B8_A8

Associated surface type.
Source§

type Channel = Unorm

Associated channel type.
Source§

type View = [<Unorm as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<f32>

Source§

type Surface = R32_G32_B32_A32

Associated surface type.
Source§

type Channel = Float

Associated channel type.
Source§

type View = [<Float as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<i16>

Source§

type Surface = R16_G16_B16_A16

Associated surface type.
Source§

type Channel = Int

Associated channel type.
Source§

type View = [<Int as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<i32>

Source§

type Surface = R32_G32_B32_A32

Associated surface type.
Source§

type Channel = Int

Associated channel type.
Source§

type View = [<Int as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<i8>

Source§

type Surface = R8_G8_B8_A8

Associated surface type.
Source§

type Channel = Int

Associated channel type.
Source§

type View = [<Int as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<u16>

Source§

type Surface = R16_G16_B16_A16

Associated surface type.
Source§

type Channel = Uint

Associated channel type.
Source§

type View = [<Uint as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<u32>

Source§

type Surface = R32_G32_B32_A32

Associated surface type.
Source§

type Channel = Uint

Associated channel type.
Source§

type View = [<Uint as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.
Source§

impl Formatted for Vec4<u8>

Source§

type Surface = R8_G8_B8_A8

Associated surface type.
Source§

type Channel = Uint

Associated channel type.
Source§

type View = [<Uint as ChannelTyped>::ShaderType; 4]

Shader view type of this format.
Source§

fn get_format() -> Format

Return the run-time value of the type.