[−][src]Trait glium::texture::Texture1dDataSource
Trait that describes data for a one-dimensional texture.
Associated Types
Loading content...Required methods
fn into_raw(self) -> RawImage1d<'a, Self::Data>
Returns the raw representation of the data.
Implementations on Foreign Types
impl<'a, P: PixelValue> Texture1dDataSource<'a> for Vec<P> where
P: Copy + Clone + Send + 'static,
[src]
P: Copy + Clone + Send + 'static,
type Data = P
fn into_raw(self) -> RawImage1d<'a, P>
[src]
impl<'a, P: PixelValue> Texture1dDataSource<'a> for &'a [P] where
P: Copy + Clone + Send + 'static,
[src]
P: Copy + Clone + Send + 'static,