Most visited

Recently visited

Texture.FilterMode

public static final enum Texture.FilterMode
extends Enum<Texture.FilterMode>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.Texture.FilterMode>
     ↳ com.viro.core.Texture.FilterMode


FilterMode determines how samples are chosen from the Texture when its rendered size is larger or smaller than the underlying image's actual size.

Summary

Enum values

Texture.FilterMode  LINEAR

Linear filtering samples the texels in the neighborhood of the coordinate and linearly interpolates between them. 

Texture.FilterMode  NEAREST

Nearest filtering returns the color from the texel nearest to the coordinates being sampled. 

Public methods

static Texture.FilterMode valueOf(String name)
static final FilterMode[] values()

Enum values

LINEAR

Texture.FilterMode LINEAR

Linear filtering samples the texels in the neighborhood of the coordinate and linearly interpolates between them.

NEAREST

Texture.FilterMode NEAREST

Nearest filtering returns the color from the texel nearest to the coordinates being sampled.

Public methods

valueOf

Texture.FilterMode valueOf (String name)

Parameters
name String

Returns
Texture.FilterMode

values

FilterMode[] values ()

Returns
FilterMode[]

Hooray!