spirv_std::image

Trait ImageCoordinate

Source
pub trait ImageCoordinate<T, const DIM: u32, const ARRAYED: u32> { }
Expand description

Marker trait for arguments that accept a coordinate for an crate::Image.

Implementors§

Source§

impl<S: Scalar> ImageCoordinate<S, { Dimensionality::Buffer as u32 }, { Arrayed::False as u32 }> for S

Source§

impl<S: Scalar> ImageCoordinate<S, { Dimensionality::OneD as u32 }, { Arrayed::False as u32 }> for S

Source§

impl<V: Vector<S, 2>, S: Scalar> ImageCoordinate<S, { Dimensionality::Rect as u32 }, { Arrayed::False as u32 }> for V

Source§

impl<V: Vector<S, 2>, S: Scalar> ImageCoordinate<S, { Dimensionality::TwoD as u32 }, { Arrayed::False as u32 }> for V

Source§

impl<V: Vector<S, 3>, S: Scalar> ImageCoordinate<S, { Dimensionality::Cube as u32 }, { Arrayed::False as u32 }> for V

Source§

impl<V: Vector<S, 3>, S: Scalar> ImageCoordinate<S, { Dimensionality::Rect as u32 }, { Arrayed::True as u32 }> for V

Source§

impl<V: Vector<S, 3>, S: Scalar> ImageCoordinate<S, { Dimensionality::ThreeD as u32 }, { Arrayed::False as u32 }> for V

Source§

impl<V: Vector<S, 3>, S: Scalar> ImageCoordinate<S, { Dimensionality::TwoD as u32 }, { Arrayed::True as u32 }> for V

Source§

impl<V: Vector<S, 4>, S: Scalar> ImageCoordinate<S, { Dimensionality::Cube as u32 }, { Arrayed::True as u32 }> for V

Source§

impl<V: Vector<S, 4>, S: Scalar> ImageCoordinate<S, { Dimensionality::ThreeD as u32 }, { Arrayed::True as u32 }> for V