Struct spirv_std::StorageImage2d[][src]

pub struct StorageImage2d { /* fields omitted */ }

Implementations

impl StorageImage2d[src]

pub fn read<I, V, const N: usize>(&self, coordinate: impl Vector<I, 2>) -> V where
    I: Integer,
    V: Vector<f32, N>, 
[src]

Read a texel from an image without a sampler.

pub unsafe fn write<I, const N: usize>(
    &self,
    coordinate: impl Vector<I, 2>,
    texels: impl Vector<f32, N>
) where
    I: Integer
[src]

Write a texel to an image without a sampler.

Trait Implementations

impl Clone for StorageImage2d[src]

impl Copy for StorageImage2d[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.