Struct gltf::Texture[][src]

pub struct Texture<'a> { /* fields omitted */ }

A texture and its sampler.

Methods

impl<'a> Texture<'a>
[src]

Returns the internal JSON index.

Optional user-defined name for this object.

Returns the sampler used by this texture.

Returns the image used by this texture.

Optional application specific data.

Trait Implementations

impl<'a> AsRef<Texture<'a>> for NormalTexture<'a>
[src]

Performs the conversion.

impl<'a> AsRef<Texture<'a>> for OcclusionTexture<'a>
[src]

Performs the conversion.

impl<'a> Clone for Texture<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Texture<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> AsRef<Texture<'a>> for Info<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for Texture<'a>

impl<'a> Sync for Texture<'a>