pub trait Texture3dDataSource<'a> {
    type Data: Send + Copy + Clone + 'a;

    // Required method
    fn into_raw(self) -> RawImage3d<'a, Self::Data>;
}
Expand description

Trait that describes data for a two-dimensional texture.

Required Associated Types§

source

type Data: Send + Copy + Clone + 'a

The type of each pixel.

Required Methods§

source

fn into_raw(self) -> RawImage3d<'a, Self::Data>

Returns the raw representation of the data.

Implementations on Foreign Types§

source§

impl<'a, P: PixelValue + Clone> Texture3dDataSource<'a> for Vec<Vec<Vec<P>>>

§

type Data = P

source§

fn into_raw(self) -> RawImage3d<'a, P>

Implementors§

source§

impl<'a, P: PixelValue + Clone> Texture3dDataSource<'a> for RawImage3d<'a, P>

§

type Data = P