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]

[src]

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

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

[src]

Magnification filter.

[src]

Minification filter.

[src]

s wrapping mode.

[src]

t wrapping mode.

[src]

Optional application specific data.

Trait Implementations

impl<'a> Clone for Sampler<'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 Sampler<'a>
[src]

[src]

Formats the value using the given formatter.