TextureMinFilter

enum TextureMinFilter : Enum<TextureMinFilter>

Texture minifying function.

Entries

NEAREST
Link copied to clipboard
common
Returns the value of the texture pixel that is nearest (in taxicab metric) to the center of the fragment being textured.
LINEAR
Link copied to clipboard
common
Returns the weighted average of the four texture pixels that are closest to the center of the fragment being textured.
NEAREST_MIPMAP_NEAREST
Link copied to clipboard
common
Finds the mipmap most closely matching the size of the fragment being textured and uses the NEAREST function to calculate a texture value.
LINEAR_MIPMAP_NEAREST
Link copied to clipboard
common
Finds the mipmap most closely matching the size of the fragment being textured and uses the LINEAR function to calculate a texture value.
NEAREST_MIPMAP_LINEAR
Link copied to clipboard
common
Finds the two mipmaps most closely matching the size of the fragment being textured, uses the NEAREST function to calculate a texture value from each mipmap, and returns a weighted average of those two values.
LINEAR_MIPMAP_LINEAR
Link copied to clipboard
common
Finds the two mipmaps most closely matching the size of the fragment being textured, uses the LINEAR function to calculate a texture value from each mipmap, and returns a weighted average of those two values.

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int