|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Texture in com.badlogic.gdx.assets.loaders |
---|
Fields in com.badlogic.gdx.assets.loaders declared as Texture | |
---|---|
Texture |
TextureLoader.TextureParameter.texture
The texture to put the TextureData in, optional. |
Methods in com.badlogic.gdx.assets.loaders that return Texture | |
---|---|
Texture |
TextureLoader.loadSync(AssetManager manager,
java.lang.String fileName,
TextureLoader.TextureParameter parameter)
|
Uses of Texture in com.badlogic.gdx.graphics |
---|
Methods in com.badlogic.gdx.graphics that return Texture | |
---|---|
Texture |
TextureRef.get()
Deprecated. Gets the wrapped texture. |
Constructors in com.badlogic.gdx.graphics with parameters of type Texture | |
---|---|
TextureRef(java.lang.String name,
Texture texture)
Deprecated. Create a new TextureRef with the given name and texture. |
Uses of Texture in com.badlogic.gdx.graphics.g2d |
---|
Fields in com.badlogic.gdx.graphics.g2d declared as Texture | |
---|---|
Texture |
TextureAtlas.TextureAtlasData.Page.texture
|
Methods in com.badlogic.gdx.graphics.g2d that return Texture | |
---|---|
Texture |
TextureRegion.getTexture()
|
protected Texture |
ParticleEffect.loadTexture(FileHandle file)
|
Methods in com.badlogic.gdx.graphics.g2d that return types with arguments of type Texture | |
---|---|
java.util.Set<Texture> |
TextureAtlas.getTextures()
|
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Texture | |
---|---|
void |
SpriteCache.add(Texture texture,
float[] vertices,
int offset,
int length)
Adds the specified vertices to the cache. |
void |
SpriteCache.add(Texture texture,
float x,
float y)
Adds the specified texture to the cache. |
void |
SpriteCache.add(Texture texture,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
boolean flipX,
boolean flipY)
Adds the specified texture to the cache. |
void |
SpriteCache.add(Texture texture,
float x,
float y,
float width,
float height,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
boolean flipX,
boolean flipY)
Adds the specified texture to the cache. |
void |
SpriteCache.add(Texture texture,
float x,
float y,
int srcWidth,
int srcHeight,
float u,
float v,
float u2,
float v2,
float color)
Adds the specified texture to the cache. |
void |
SpriteCache.add(Texture texture,
float x,
float y,
int srcX,
int srcY,
int srcWidth,
int srcHeight)
Adds the specified texture to the cache. |
TextureAtlas.AtlasRegion |
TextureAtlas.addRegion(java.lang.String name,
Texture texture,
int x,
int y,
int width,
int height)
Adds a region to the atlas. |
void |
SpriteBatch.draw(Texture texture,
float[] spriteVertices,
int offset,
int length)
Draws a rectangle using the given vertices. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y)
Draws a rectangle with the bottom left corner at x,y having the width and height of the texture. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y,
float width,
float height)
Draws a rectangle with the bottom left corner at x,y and stretching the region to cover the given width and height. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y,
float width,
float height,
float u,
float v,
float u2,
float v2)
Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
boolean flipX,
boolean flipY)
Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y,
float width,
float height,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
boolean flipX,
boolean flipY)
Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. |
void |
SpriteBatch.draw(Texture texture,
float x,
float y,
int srcX,
int srcY,
int srcWidth,
int srcHeight)
Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. |
void |
TextureRegion.setRegion(Texture texture)
Sets the texture and sets the coordinates to the size of the specified texture. |
void |
TextureRegion.setTexture(Texture texture)
|
static TextureRegion[][] |
TextureRegion.split(Texture texture,
int tileWidth,
int tileHeight)
Helper function to create tiles out of the given Texture starting from the top left corner going to the left and
ending at the bottom right corner. |
Constructors in com.badlogic.gdx.graphics.g2d with parameters of type Texture | |
---|---|
NinePatch(Texture texture)
|
|
NinePatch(Texture texture,
Color color)
|
|
NinePatch(Texture texture,
int left,
int right,
int top,
int bottom)
|
|
Sprite(Texture texture)
Creates a sprite with width, height, and texture region equal to the size of the texture. |
|
Sprite(Texture texture,
int srcWidth,
int srcHeight)
Creates a sprite with width, height, and texture region equal to the specified size. |
|
Sprite(Texture texture,
int srcX,
int srcY,
int srcWidth,
int srcHeight)
Creates a sprite with width, height, and texture region equal to the specified size. |
|
TextureAtlas.AtlasRegion(Texture texture,
int x,
int y,
int width,
int height)
|
|
TextureRegion(Texture texture)
Constructs a region the size of the specified texture. |
|
TextureRegion(Texture texture,
float u,
float v,
float u2,
float v2)
|
|
TextureRegion(Texture texture,
int width,
int height)
|
|
TextureRegion(Texture texture,
int x,
int y,
int width,
int height)
|
Uses of Texture in com.badlogic.gdx.graphics.g2d.tiled |
---|
Fields in com.badlogic.gdx.graphics.g2d.tiled with type parameters of type Texture | |
---|---|
protected java.util.HashSet<Texture> |
TileAtlas.textures
|
Uses of Texture in com.badlogic.gdx.graphics.glutils |
---|
Methods in com.badlogic.gdx.graphics.glutils that return Texture | |
---|---|
Texture |
FrameBuffer.getColorBufferTexture()
|
Uses of Texture in com.badlogic.gdx.scenes.scene2d |
---|
Fields in com.badlogic.gdx.scenes.scene2d declared as Texture | |
---|---|
static Texture |
Group.debugTexture
|
Uses of Texture in com.badlogic.gdx.scenes.scene2d.ui |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Texture | |
---|---|
Texture |
Skin.getTexture()
Returns the single Texture that all resources in this skin reference. |
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Texture | |
---|---|
void |
Skin.setTexture(Texture texture)
|
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Texture | |
---|---|
Image(Texture texture)
Creates an image stretched, and aligned center. |
|
Image(Texture texture,
Scaling scaling)
Creates an image aligned center. |
|
Image(Texture texture,
Scaling scaling,
int align)
|
|
Image(Texture texture,
Scaling scaling,
int align,
java.lang.String name)
|
|
Skin(FileHandle skinFile,
Texture texture)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |