Modifier and Type | Field and Description |
---|---|
Texture.Config |
Texture.config
This texture's configuration.
|
static Texture.Config |
Texture.Config.DEFAULT
Default managed texture configuration: managed, no mipmaps, no repat, linear filters.
|
static Texture.Config |
Texture.Config.UNMANAGED
Default unmanaged texture configuration: unmanaged, no mipmaps, no repat, linear filters.
|
Modifier and Type | Method and Description |
---|---|
Texture.Config |
Texture.Config.repeat(boolean repeatX,
boolean repeatY)
Returns a copy of this config with
repeatX , repeatY set as specified. |
Modifier and Type | Method and Description |
---|---|
Texture |
Graphics.createTexture(float width,
float height,
Texture.Config config)
Creates an empty texture into which one can render.
|
Texture |
Graphics.createTexture(IDimension size,
Texture.Config config)
|
Texture |
Image.createTexture(Texture.Config config)
Creates a texture with this image's bitmap data using
config . |
Image |
Image.setConfig(Texture.Config config)
Sets the texture config used when creating this image's default texture.
|
Texture |
Canvas.toTexture(Texture.Config config)
A helper function for creating a texture from this canvas's image, and then disposing this
canvas.
|
Constructor and Description |
---|
Texture(Graphics gfx,
int id,
Texture.Config config,
int pixWidth,
int pixHeight,
Scale scale,
float dispWidth,
float dispHeight) |
Copyright © 2019. All Rights Reserved.