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<'a> Get<Sampler> for Root
[src]

Retrieves a single value at the given index.

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. Read more

impl Default for Sampler
[src]

Returns the "default value" for a type. Read more

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. Read more

Auto Trait Implementations

impl Send for Sampler

impl Sync for Sampler