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

pub struct Sampler {
    pub mag_filter: Option<Checked<MagFilter>>,
    pub min_filter: Option<Checked<MinFilter>>,
    pub wrap_s: Checked<WrappingMode>,
    pub wrap_t: Checked<WrappingMode>,
    pub extensions: Sampler,
    pub extras: Extras,
}

Texture sampler properties for filtering and wrapping modes.

Fields

Magnification filter.

Minification filter.

s wrapping mode.

t wrapping mode.

Extension specific data.

Optional application specific data.

Trait Implementations

impl Clone for Sampler
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sampler
[src]

Formats the value using the given formatter.

impl Validate for Sampler
[src]

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.