Open topic with navigation
<texture>.getMagFilter
Returns the magnification filter mode
Remarks
This command will return the magnification 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.getMagFilter() == viz.LINEAR:
print('Using linear filtering')
See also