<multimedia:image>.getMinFilter

Returns the minification filter mode

 

<multimedia:image>.getMinFilter()

 

Remarks

This command will return the minification filter mode that was specified with the filter command.

Return Value

One of the following values:

viz.LINEAR
viz.LINEAR_MIPMAP_LINEAR
viz.LINEAR_MIPMAP_NEAREST
viz.NEAREST
viz.NEAREST_MIPMAP_LINEAR
viz.NEAREST_MIPMAP_NEAREST

Example

if tex.getMinFilter() == viz.NEAREST:
    print 'Using nearest filtering'

See also

<multimedia:image>.filter