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

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

A texture and its sampler.

Methods

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

[src]

Returns the internal JSON index.

[src]

Returns the sampler used by this texture.

[src]

Returns the image used by this texture.

[src]

Optional application specific data.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.