Class Overview
The TextureOptions defines with what parameters a ITexture is treated with by the hardware.
The MinFilter and MagFilter are responsible for the resulting render-quality.
I.e. GL_NEAREST will look more pixelated than GL_LINEAR, but will render a bit faster.
WrapT and WrapS define how TextureCoordinates that exceed the [0,1] limit are treated.
I.e. GL_REPEAT will repeat the ITexture and GL_CLAMP_TO_EDGE will stretch the outermost pixels of the ITexture.
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
| Public Constructors |
|
|
TextureOptions(int pMinFilter, int pMagFilter, int pWrapT, int pWrapS, boolean pPreMultiplyAlpha)
|
| Public Methods |
|
void
|
apply()
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
public
static
final
TextureOptions
REPEATING_BILINEAR_PREMULTIPLYALPHA
public
final
int
mMagFilter
public
final
int
mMinFilter
public
final
boolean
mPreMultiplyAlpha
public
final
float
mWrapS
public
final
float
mWrapT
Public Constructors
public
TextureOptions
(int pMinFilter, int pMagFilter, int pWrapT, int pWrapS, boolean pPreMultiplyAlpha)
Public Methods