View source
enum abstract Context3DTextureFilter(Null<Int>)
package openfl.display3D
Available on all platforms
Defines the values to use for sampler filter mode.
Variables
inlineread onlyANISOTROPIC16X:Context3DTextureFilter = 0
Use anisotropic filter with radio 16 when upsampling textures
inlineread onlyANISOTROPIC2X:Context3DTextureFilter = 1
Use anisotropic filter with radio 2 when upsampling textures
inlineread onlyANISOTROPIC4X:Context3DTextureFilter = 2
Use anisotropic filter with radio 4 when upsampling textures
inlineread onlyANISOTROPIC8X:Context3DTextureFilter = 3
Use anisotropic filter with radio 8 when upsampling textures
inlineread onlyLINEAR:Context3DTextureFilter = 4
Use linear interpolation when upsampling textures (gives a smooth, blurry look).
inlineread onlyNEAREST:Context3DTextureFilter = 5
Use nearest neighbor sampling when upsampling textures (gives a pixelated, sharp mosaic look).