Trait glium::texture::Texture2dDataSource [] [src]

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

Trait that describes data for a two-dimensional texture.

Associated Types

The type of each pixel.

Required Methods

Returns the raw representation of the data.

Implementations on Foreign Types

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

[src]

Implementors