[][src]Trait glium::texture::Texture3dDataSource

pub trait Texture3dDataSource<'a> {
    type Data: Send + Copy + Clone + 'a;
    fn into_raw(self) -> RawImage3d<'a, Self::Data>;
}

Trait that describes data for a two-dimensional texture.

Associated Types

type Data: Send + Copy + Clone + 'a

The type of each pixel.

Loading content...

Required methods

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

Returns the raw representation of the data.

Loading content...

Implementations on Foreign Types

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

type Data = P

Loading content...

Implementors

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

type Data = P

Loading content...