Uses of Class
com.badlogic.gdx.graphics.Texture
-
-
Uses of Texture in com.badlogic.gdx.assets.loaders
Fields in com.badlogic.gdx.assets.loaders declared as Texture Modifier and Type Field Description TextureTextureLoader.TextureParameter. textureThe texture to put theTextureDatain, optional.Methods in com.badlogic.gdx.assets.loaders that return Texture Modifier and Type Method Description TextureTextureLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, TextureLoader.TextureParameter parameter) -
Uses of Texture in com.badlogic.gdx.graphics.g2d
Fields in com.badlogic.gdx.graphics.g2d declared as Texture Modifier and Type Field Description TextureTextureAtlas.TextureAtlasData.Page. textureMay be null if the texture is not yet loaded.Methods in com.badlogic.gdx.graphics.g2d that return Texture Modifier and Type Method Description TextureNinePatch. getTexture()TexturePixmapPacker.Page. getTexture()Returns the texture for this page, or null if the texture has not been created.TextureTextureRegion. getTexture()protected TextureParticleEffect. loadTexture(FileHandle file)Methods in com.badlogic.gdx.graphics.g2d that return types with arguments of type Texture Modifier and Type Method Description ObjectSet<Texture>TextureAtlas. getTextures()Methods in com.badlogic.gdx.graphics.g2d with parameters of type Texture Modifier and Type Method Description voidSpriteCache. add(Texture texture, float[] vertices, int offset, int length)Adds the specified vertices to the cache.voidSpriteCache. add(Texture texture, float x, float y)Adds the specified texture to the cache.voidSpriteCache. 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.voidSpriteCache. 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.voidSpriteCache. 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.voidSpriteCache. add(Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight)Adds the specified texture to the cache.TextureAtlas.AtlasRegionTextureAtlas. addRegion(java.lang.String name, Texture texture, int x, int y, int width, int height)Adds a region to the atlas.voidBatch. draw(Texture texture, float[] spriteVertices, int offset, int count)Draws a rectangle using the given vertices.voidBatch. 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.voidBatch. 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.voidBatch. 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.voidBatch. 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.voidBatch. 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.voidBatch. 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.voidCpuSpriteBatch. draw(Texture texture, float[] spriteVertices, int offset, int count)voidCpuSpriteBatch. draw(Texture texture, float x, float y)voidCpuSpriteBatch. draw(Texture texture, float x, float y, float width, float height)voidCpuSpriteBatch. draw(Texture texture, float x, float y, float width, float height, float u, float v, float u2, float v2)voidCpuSpriteBatch. 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)voidCpuSpriteBatch. draw(Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY)voidCpuSpriteBatch. draw(Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight)voidPolygonBatch. draw(Texture texture, float[] polygonVertices, int verticesOffset, int verticesCount, short[] polygonTriangles, int trianglesOffset, int trianglesCount)Draws the polygon using the given vertices and triangles.voidPolygonSpriteBatch. draw(Texture texture, float[] spriteVertices, int offset, int count)voidPolygonSpriteBatch. draw(Texture texture, float[] polygonVertices, int verticesOffset, int verticesCount, short[] polygonTriangles, int trianglesOffset, int trianglesCount)voidPolygonSpriteBatch. draw(Texture texture, float x, float y)voidPolygonSpriteBatch. draw(Texture texture, float x, float y, float width, float height)voidPolygonSpriteBatch. draw(Texture texture, float x, float y, float width, float height, float u, float v, float u2, float v2)voidPolygonSpriteBatch. 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)voidPolygonSpriteBatch. draw(Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY)voidPolygonSpriteBatch. draw(Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight)voidSpriteBatch. draw(Texture texture, float[] spriteVertices, int offset, int count)voidSpriteBatch. draw(Texture texture, float x, float y)voidSpriteBatch. draw(Texture texture, float x, float y, float width, float height)voidSpriteBatch. draw(Texture texture, float x, float y, float width, float height, float u, float v, float u2, float v2)voidSpriteBatch. 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)voidSpriteBatch. draw(Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY)voidSpriteBatch. draw(Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight)voidTextureRegion. setRegion(Texture texture)Sets the texture and sets the coordinates to the size of the specified texture.voidTextureRegion. setTexture(Texture texture)static TextureRegion[][]TextureRegion. split(Texture texture, int tileWidth, int tileHeight)Helper method to create tiles out of the givenTexturestarting from the top left corner going to the right and ending at the bottom right corner.protected voidSpriteBatch. switchTexture(Texture texture)Constructors in com.badlogic.gdx.graphics.g2d with parameters of type Texture Constructor Description AtlasRegion(Texture texture, int x, int y, int width, int height)NinePatch(Texture texture)Construct a degenerate "nine" patch with only a center component.NinePatch(Texture texture, int left, int right, int top, int bottom)Create a ninepatch by cutting up the given texture into nine patches.NinePatch(Texture texture, Color color)Construct a degenerate "nine" patch with only a center component.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.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.g3d.attributes
Fields in com.badlogic.gdx.graphics.g3d.attributes with type parameters of type Texture Modifier and Type Field Description TextureDescriptor<Texture>TextureAttribute. textureDescriptionMethods in com.badlogic.gdx.graphics.g3d.attributes with parameters of type Texture Modifier and Type Method Description static TextureAttributeTextureAttribute. createAmbient(Texture texture)static TextureAttributeTextureAttribute. createBump(Texture texture)static TextureAttributeTextureAttribute. createDiffuse(Texture texture)static TextureAttributeTextureAttribute. createEmissive(Texture texture)static TextureAttributeTextureAttribute. createNormal(Texture texture)static TextureAttributeTextureAttribute. createReflection(Texture texture)static TextureAttributeTextureAttribute. createSpecular(Texture texture)Constructors in com.badlogic.gdx.graphics.g3d.attributes with parameters of type Texture Constructor Description TextureAttribute(long type, Texture texture) -
Uses of Texture in com.badlogic.gdx.graphics.g3d.particles.batches
Fields in com.badlogic.gdx.graphics.g3d.particles.batches declared as Texture Modifier and Type Field Description protected TextureBillboardParticleBatch. textureMethods in com.badlogic.gdx.graphics.g3d.particles.batches that return Texture Modifier and Type Method Description TextureBillboardParticleBatch. getTexture()TexturePointSpriteParticleBatch. getTexture()Methods in com.badlogic.gdx.graphics.g3d.particles.batches with parameters of type Texture Modifier and Type Method Description voidBillboardParticleBatch. setTexture(Texture texture)voidPointSpriteParticleBatch. setTexture(Texture texture) -
Uses of Texture in com.badlogic.gdx.graphics.g3d.particles.influencers
Constructors in com.badlogic.gdx.graphics.g3d.particles.influencers with parameters of type Texture Constructor Description Animated(Texture texture)Random(Texture texture)RegionInfluencer(Texture texture)Single(Texture texture) -
Uses of Texture in com.badlogic.gdx.graphics.g3d.utils
Methods in com.badlogic.gdx.graphics.g3d.utils that return Texture Modifier and Type Method Description TextureTextureProvider.AssetTextureProvider. load(java.lang.String fileName)TextureTextureProvider.FileTextureProvider. load(java.lang.String fileName)TextureTextureProvider. load(java.lang.String fileName) -
Uses of Texture in com.badlogic.gdx.graphics.glutils
Methods in com.badlogic.gdx.graphics.glutils that return Texture Modifier and Type Method Description protected TextureFloatFrameBuffer. createTexture(GLFrameBuffer.FrameBufferTextureAttachmentSpec attachmentSpec)protected TextureFrameBuffer. createTexture(GLFrameBuffer.FrameBufferTextureAttachmentSpec attachmentSpec)Methods in com.badlogic.gdx.graphics.glutils with parameters of type Texture Modifier and Type Method Description protected voidFrameBuffer. attachFrameBufferColorTexture(Texture texture)protected voidFrameBuffer. disposeColorTexture(Texture colorTexture)Constructor parameters in com.badlogic.gdx.graphics.glutils with type arguments of type Texture Constructor Description FloatFrameBuffer(GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<Texture>> bufferBuilder)Creates a GLFrameBuffer from the specifications provided by bufferBuilderFrameBuffer(GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<Texture>> bufferBuilder)Creates a GLFrameBuffer from the specifications provided by bufferBuilder -
Uses of Texture in com.badlogic.gdx.maps
Constructor parameters in com.badlogic.gdx.maps with type arguments of type Texture Constructor Description DirectImageResolver(ObjectMap<java.lang.String,Texture> images) -
Uses of Texture in com.badlogic.gdx.maps.tiled
Fields in com.badlogic.gdx.maps.tiled with type parameters of type Texture Modifier and Type Field Description protected Array<Texture>AtlasTmxMapLoader. trackedTextures -
Uses of Texture in com.badlogic.gdx.scenes.scene2d.ui
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Texture Constructor Description Image(Texture texture)Creates an image stretched, and aligned center. -
Uses of Texture in com.badlogic.gdx.scenes.scene2d.utils
Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Texture Constructor Description TextureRegionDrawable(Texture texture)
-