Trait glium::texture::Texture2dDataSource
source · pub trait Texture2dDataSource<'a> {
type Data: Send + Copy + Clone + 'a;
// Required method
fn into_raw(self) -> RawImage2d<'a, Self::Data>;
}
Expand description
Trait that describes data for a two-dimensional texture.
Required Associated Types§
Required Methods§
sourcefn into_raw(self) -> RawImage2d<'a, Self::Data>
fn into_raw(self) -> RawImage2d<'a, Self::Data>
Returns the raw representation of the data.