TextureMinFilter

enum TextureMinFilter : Enum<TextureMinFilter>

Texture minifying function.

Entries

LINEAR_MIPMAP_LINEAR
Link copied to clipboard

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.

NEAREST_MIPMAP_LINEAR
Link copied to clipboard

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_NEAREST
Link copied to clipboard

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_NEAREST
Link copied to clipboard

Finds the mipmap most closely matching the size of the fragment being textured and uses the NEAREST function to calculate a texture value.

LINEAR
Link copied to clipboard

Returns the weighted average of the four texture pixels that are closest to the center of the fragment being textured.

NEAREST
Link copied to clipboard

Returns the value of the texture pixel that is nearest (in taxicab metric) to the center of the fragment being textured.

Properties

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