Vizard 7 » Command Index » Vizard objects » texture » <texture>.getMinFilter
7.6

<texture>.getMinFilter

Returns the minification filter mode

<texture>.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

<texture>.filter