Struct gltf::texture::Sampler [] [src]

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

Texture sampler properties for filtering and wrapping modes.

Methods

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

Constructs the default Sampler.

Returns the internal JSON index if this Sampler was explicity defined.

This function returns None if the Sampler is the default sampler.

Returns the internal JSON item.

Magnification filter.

Minification filter.

s wrapping mode.

t wrapping mode.

Optional application specific data.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.