Enum gltf_json::texture::MinFilter [−][src]
pub enum MinFilter { Nearest, Linear, NearestMipmapNearest, LinearMipmapNearest, NearestMipmapLinear, LinearMipmapLinear, }
Minification filter.
Variants
Nearest
Corresponds to GL_NEAREST
.
Linear
Corresponds to GL_LINEAR
.
NearestMipmapNearest
Corresponds to GL_NEAREST_MIPMAP_NEAREST
.
LinearMipmapNearest
Corresponds to GL_LINEAR_MIPMAP_NEAREST
.
NearestMipmapLinear
Corresponds to GL_NEAREST_MIPMAP_LINEAR
.
LinearMipmapLinear
Corresponds to GL_LINEAR_MIPMAP_LINEAR
.
Methods
impl MinFilter
[src]
impl MinFilter
pub fn as_gl_enum(&self) -> u32
[src]
pub fn as_gl_enum(&self) -> u32
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for MinFilter
[src]
impl Clone for MinFilter
fn clone(&self) -> MinFilter
[src]
fn clone(&self) -> MinFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MinFilter
[src]
impl Copy for MinFilter
impl Debug for MinFilter
[src]
impl Debug for MinFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Serialize for MinFilter
[src]
impl Serialize for MinFilter