Struct gltf::texture::Texture
[−]
[src]
pub struct Texture<'a> { /* fields omitted */ }A texture and its sampler.
Methods
impl<'a> Texture<'a>[src]
fn index(&self) -> usize[src]
Returns the internal JSON index.
fn sampler(&self) -> Sampler<'a>[src]
Returns the sampler used by this texture.
fn source(&self) -> Image<'a>[src]
Returns the image used by this texture.
fn extras(&self) -> &Extras[src]
Optional application specific data.
Trait Implementations
impl<'a> Clone for Texture<'a>[src]
fn clone(&self) -> Texture<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more