public static class Texture.Parameters
extends Object
Modifier and Type | Field and Description |
---|---|
int |
format
Texture internal format.
|
boolean |
mipmaps
Use mipmaps or not.
|
int |
sampling
Texture filtering (POINT, LINEAR, BILINEAR or TRILINEAR).
|
int |
target
Texture target.
|
int |
wrapU
Wrapping mode along U.
|
int |
wrapV
Wrapping mode along V.
|
Constructor and Description |
---|
Parameters()
Sets all the parameters to default values.
|
Parameters(int format) |
Parameters(int format,
int sampling) |
Parameters(int format,
int sampling,
boolean mipmaps) |
Parameters(int format,
int sampling,
boolean mipmaps,
int wrap) |
Parameters(Texture.Parameters src) |
Modifier and Type | Method and Description |
---|---|
void |
set(int format) |
void |
set(int format,
int sampling) |
void |
set(int format,
int sampling,
boolean mipmaps) |
void |
set(Texture.Parameters src) |
public int target
public int format
public int sampling
public boolean mipmaps
public int wrapU
public int wrapV
public Parameters()
public Parameters(int format)
public Parameters(int format, int sampling)
public Parameters(int format, int sampling, boolean mipmaps)
public Parameters(int format, int sampling, boolean mipmaps, int wrap)
public Parameters(Texture.Parameters src)
public void set(int format)
public void set(int format, int sampling)
public void set(int format, int sampling, boolean mipmaps)
public void set(Texture.Parameters src)