text
stringlengths
0
8.81k
number
Vertical orientation.
constant TextureMagnificationFilter : number
engine/Source/Renderer/TextureMagnificationFilter.js 10
Enumerates all possible filters used when magnifying WebGL textures.
Properties:
Name
Type
Description
NEAREST
number
Samples the texture by returning the closest pixel.
LINEAR
number
Samples the texture through bi-linear interpolation of the four nearest pixels. This produces smoother results than NEAREST filtering.
See:
TextureMinificationFilter
constant TextureMinificationFilter : number
engine/Source/Renderer/TextureMinificationFilter.js 10
Enumerates all possible filters used when minifying WebGL textures.
Properties:
Name
Type
Description
NEAREST
number
Samples the texture by returning the closest pixel.
LINEAR
number
Samples the texture through bi-linear interpolation of the four nearest pixels. This produces smoother results than NEAREST filtering.
NEAREST_MIPMAP_NEAREST
number
Selects the nearest mip level and applies nearest sampling within that level.
Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.