Struct gltf::texture::Texture [] [src]

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

A texture and its sampler.

Methods

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

Constructs a Texture.

Returns the internal JSON index.

Returns the internal JSON item.

The sampler used by this texture.

The image used by this texture.

Optional application specific data.

Trait Implementations

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.