Package | Description |
---|---|
com.badlogic.gdx.assets.loaders | |
com.badlogic.gdx.graphics | |
com.badlogic.gdx.graphics.glutils |
Modifier and Type | Field and Description |
---|---|
TextureData |
TextureLoader.TextureParameter.textureData
TextureData for textures created on the fly, optional.
|
Modifier and Type | Method and Description |
---|---|
TextureData |
Texture.getTextureData() |
static TextureData |
TextureData.Factory.loadFromFile(FileHandle file,
boolean useMipMaps) |
static TextureData |
TextureData.Factory.loadFromFile(FileHandle file,
Pixmap.Format format,
boolean useMipMaps) |
Modifier and Type | Method and Description |
---|---|
void |
Texture.load(TextureData data) |
protected static void |
GLTexture.uploadImageData(int target,
TextureData data) |
static void |
GLTexture.uploadImageData(int target,
TextureData data,
int miplevel) |
Constructor and Description |
---|
Cubemap(TextureData positiveX,
TextureData negativeX,
TextureData positiveY,
TextureData negativeY,
TextureData positiveZ,
TextureData negativeZ)
Construct a Cubemap with the specified
TextureData 's for the sides |
Texture(int glTarget,
int glHandle,
TextureData data) |
Texture(TextureData data) |
Modifier and Type | Class and Description |
---|---|
class |
ETC1TextureData |
class |
FileTextureData |
class |
FloatTextureData
A
TextureData implementation which should be used to create float textures. |
class |
GLOnlyTextureData
A
TextureData implementation which should be used to create gl only textures. |
class |
KTXTextureData
A KTXTextureData holds the data from a KTX (or zipped KTX file, aka ZKTX).
|
class |
MipMapTextureData
This class will load each contained TextureData to the chosen mipmap level.
|
class |
PixmapTextureData |
Modifier and Type | Field and Description |
---|---|
protected TextureData[] |
FacedCubemapData.data |
Modifier and Type | Method and Description |
---|---|
TextureData |
FacedCubemapData.getTextureData(Cubemap.CubemapSide side) |
Constructor and Description |
---|
FacedCubemapData(TextureData positiveX,
TextureData negativeX,
TextureData positiveY,
TextureData negativeY,
TextureData positiveZ,
TextureData negativeZ)
Construct a Cubemap with the specified
TextureData 's for the sides |
MipMapTextureData(TextureData... mipMapData) |