Skip navigation links
A B C D E F G H I L N O P Q R S T U V W X Y Z 

A

add(T) - Method in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
Add a Batchable to the queue.
addBaseAttributes(Array<VertexAttribute>, int, boolean, boolean) - Static method in class com.cyphercove.gdx.flexbatch.utils.BatchablePreparation
Generate vertex attributes suitable for multi-texturing and vertex color.
addVertexAttributes(Array<VertexAttribute>) - Method in class com.cyphercove.gdx.flexbatch.Batchable
A Batchable implementation calls this to populate a list of vertex attributes that will be used by the FlexBatch.
addVertexAttributes(Array<VertexAttribute>) - Method in class com.cyphercove.gdx.flexbatch.batchable.LitQuad3D
 
addVertexAttributes(Array<VertexAttribute>) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
addVertexAttributes(Array<VertexAttribute>) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.Batchable
Called by FlexBatch.
apply(short[], int, short) - Method in class com.cyphercove.gdx.flexbatch.Batchable
Called by FlexBatch.
apply(short[], int, short) - Method in class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
Called by FlexBatch to apply triangle index data, only if this FixedSizeBatchable is drawn by a FlexBatch that is not limited to drawing FixedSizeBatchables.
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.LitQuad3D
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
apply(short[], int, short) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
apply(float[], int, AttributeOffsets, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
applyMatrices() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Called only while drawing.
applyTextureUniforms() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Sets shader uniform values for the textures.
AttributeOffsets - Class in com.cyphercove.gdx.flexbatch.utils
Provides fast and convenient access to VertexAttribute offsets, in float-size units.
AttributeOffsets(VertexAttributes) - Constructor for class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
attributes - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 

B

Batchable - Class in com.cyphercove.gdx.flexbatch
A Batchable is an object that can be drawn by a FlexBatch.
Batchable() - Constructor for class com.cyphercove.gdx.flexbatch.Batchable
 
Batchable.FixedSizeBatchable - Class in com.cyphercove.gdx.flexbatch
Parent class for Batchables that all have the same number of vertices and triangles.
BatchablePreparation - Class in com.cyphercove.gdx.flexbatch.utils
 
BatchablePreparation() - Constructor for class com.cyphercove.gdx.flexbatch.utils.BatchablePreparation
 
BatchableSorter<T extends Batchable & SortableBatchable<T>> - Class in com.cyphercove.gdx.flexbatch.utils
Sorts 3D Batchables to ensure proper render order before passing them to a FlexBatch.
BatchableSorter(Camera) - Constructor for class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
 
BatchableSorter(Camera, int, int, int) - Constructor for class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
 
batchableType - Variable in class com.cyphercove.gdx.flexbatch.FlexBatch
 
begin() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
begin() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Begin tracking GL state.
billboard(Camera) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to look at the camera, relative to the current position.
billboard(Camera, Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to look at the camera, relative to the current position.
biNormal - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
blend() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Enables blending.
blend(int, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Enables blending and sets the blend function parameters.
blend(Quad3D.Blending) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Enables blending and sets the blend function parameters to a commonly used pair.

C

calculateDistanceSquared(Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
calculateDistanceSquared(Vector3) - Method in interface com.cyphercove.gdx.flexbatch.utils.SortableBatchable
 
cameraPosition - Variable in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
 
clear() - Method in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
Clear the queue without drawing anything.
clearAllTextureUnits() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Cancels all pending texture bindings and drops all Texture references held by RenderContextAccumulator.
clearTextureUnit(int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Cancels any pending texture that is to be bound to the given texture unit.
color - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
color(Color) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
color(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
color(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
color(Color) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
color(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
color(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
color - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
color(Color) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
color(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
color(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
color(Color) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
color(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
color(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
color(Color) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
color(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
color(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
color0 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
color1 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
color2 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
color3 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
com.cyphercove.gdx.flexbatch - package com.cyphercove.gdx.flexbatch
 
com.cyphercove.gdx.flexbatch.batchable - package com.cyphercove.gdx.flexbatch.batchable
 
com.cyphercove.gdx.flexbatch.utils - package com.cyphercove.gdx.flexbatch.utils
 
CompliantBatch<T extends Quad2D> - Class in com.cyphercove.gdx.flexbatch
A FlexBatch that implements the Batch interface, so it is compatible with Stage/Actor, BitmapFont, ParticleEffect, Sprite, and NinePatch.
CompliantBatch(Class<T>, boolean) - Constructor for class com.cyphercove.gdx.flexbatch.CompliantBatch
Constructs a CompliantQuadBatch with a default shader and a capacity of 1000 quads that can be drawn per flush.
CompliantBatch(Class<T>, int, boolean) - Constructor for class com.cyphercove.gdx.flexbatch.CompliantBatch
Constructs a CompliantQuadBatch with a default shader.
CompliantBatch(Class<T>, int, boolean, boolean) - Constructor for class com.cyphercove.gdx.flexbatch.CompliantBatch
Constructs a CompliantQuadBatch with a specified capacity and optional default shader.
coordinatesRotation - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
The number of times the texture coordinates should be rotated clockwise by 90 degrees.

D

disableBlending() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
dispose() - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
dispose() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
draw(Texture, float[], int, int) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float, float, float, float, float, float, float, float, int, int, int, int, boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float, float, float, int, int, int, int, boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float, int, int, int, int) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float, float, float, float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(Texture, float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(TextureRegion, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(TextureRegion, float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(TextureRegion, float, float, float, float, float, float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(TextureRegion, float, float, float, float, float, float, float, float, float, boolean) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw(TextureRegion, float, float, Affine2) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
draw() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
draw(Batchable) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Queues a Batchable for drawing.
draw(Batchable.FixedSizeBatchable, float[], int, int, int) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Draws explicit vertex data, using only the render context and Texture parameter(s) of the passed in FixedSizeBatchable.
draw(T, float[], int, int, int, short[], int, int) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Draws explicit vertex data, using only the render context and Texture parameter(s) of the passed-in Batchable.
draw(FlexBatch<T>) - Method in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
Sort (if necessary) and draw the queued Batchables without clearing them.
dstBlendFactor - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 

E

enableBlending() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
end() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
end() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Returns actual OpenGL states to defaults.
executeChanges() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Applies the pending state changes and texture bindings to GL.

F

FixedSizeBatchable() - Constructor for class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
 
FlexBatch<T extends Batchable> - Class in com.cyphercove.gdx.flexbatch
Draws batched Batchable objects, optimizing the drawing process by combining them into a single Mesh.
FlexBatch(Class<T>, int, int) - Constructor for class com.cyphercove.gdx.flexbatch.FlexBatch
Construct a FlexBatch capable of drawing the given Batchable type and other compatible Batchables (ones with the same + * VertexAttributes or subset of beginning VertexAttributes).
flip(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Flips the UV region of the most recently applied texture.
flip(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
flip(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
flip(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
flipAll(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Flips the texture region(s) from their current state.
flipAll(boolean, boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
flush() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
flush(FlexBatch<T>) - Method in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
Sort (if necessary), draw, and clear references to the queued Batchables.

G

generateGenericFragmentShader(int) - Static method in class com.cyphercove.gdx.flexbatch.utils.BatchablePreparation
 
generateGenericVertexShader(int) - Static method in class com.cyphercove.gdx.flexbatch.utils.BatchablePreparation
 
generic0 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
generic1 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
generic2 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
generic3 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
get(String) - Method in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
Get the VertexAttribute offset, in float-size units, looking it up by its alias.
get(int) - Method in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
Get the VertexAttribute offset, in float-size units, looking it up by its index in the VertexAttributes.
getBatchableCapacity() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getBlendDstFunc() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getBlendDstFuncAlpha() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getBlendFuncDstAlpha() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getBlendFuncDstColor() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getBlendFuncSrcAlpha() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getBlendFuncSrcColor() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getBlendSrcFunc() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getBlendSrcFuncAlpha() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getColor() - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
getCullFace() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getDepthFunction() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getDepthRangeFar() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getDepthRangeNear() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getFaceCulling() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
getNumberOfTextures() - Method in class com.cyphercove.gdx.flexbatch.Batchable
 
getNumberOfTextures() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
getNumberOfTextures() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
getPackedColor() - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
getProjectionMatrix() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getRenderContext() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Returns the render context, which can be used to modify drawing parameters for the next batch flush.
getShader() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getTransformMatrix() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getTrianglesPerBatchable() - Method in class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
 
getTrianglesPerBatchable() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
getVertexCapacity() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
getVerticesPerBatchable() - Method in class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
 
getVerticesPerBatchable() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 

H

hasEquivalentTextures(Quad3D) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
hasEquivalentTextures(T) - Method in interface com.cyphercove.gdx.flexbatch.utils.SortableBatchable
 
hasPendingChanges() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
height - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
Width and height must be set with Poly.size(float, float).
height - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
Width and height must be set with Quad.size(float, float).

I

isBlendFuncSeparate() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
isBlendingEnabled() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
isBlendingEnabled() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
isDepthMaskEnabled() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
isDepthTestingEnabled() - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
isDrawing() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
isOpaque() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
isOpaque() - Method in interface com.cyphercove.gdx.flexbatch.utils.SortableBatchable
 
isPosition3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
Determines whether the position data has a Z component.
isPosition3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
isPosition3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Determines whether the position data has a Z component.
isPosition3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
isPosition3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
isTextureCoordinate3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
Determines whether the texture coordinate data has a third component (for TextureArray layers).
isTextureCoordinate3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
isTextureCoordinate3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Determines whether the texture coordinate data has a third component (for TextureArray layers).
isTextureCoordinate3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
isTextureCoordinate3D() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 

L

layer - Variable in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
LitQuad3D - Class in com.cyphercove.gdx.flexbatch.batchable
A Quad3D with support for lighting through the use of normal, tangent, and binormal vertex attributes.
LitQuad3D() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.LitQuad3D
A LitQuad3D that starts opaque.
LitQuad3D(int, int) - Constructor for class com.cyphercove.gdx.flexbatch.batchable.LitQuad3D
A LitQuad3D that starts with blending enabled, with the specified blend factors.
LitQuad3D(Quad3D.Blending) - Constructor for class com.cyphercove.gdx.flexbatch.batchable.LitQuad3D
A LitQuad3D that starts with blending enabled, and a common set of blend factors.
lookAt(Vector3, Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to look at the give position, relative to the current position.

N

normal - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
numIndices - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
numVertices - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 

O

opaque - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
opaque() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Disables blending.
opaqueInitialCapacityPerTexture - Variable in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
 
origin(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
Sets the center point for transformations (rotation and scale).
origin(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
origin(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Sets the center point for transformations (rotation and scale).
origin(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
origin(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
originX - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
originX - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
originY - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
originY - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 

P

Poly - Class in com.cyphercove.gdx.flexbatch.batchable
A Batchable supporting a single PolygonRegion, with color, position, scale, and an origin offset.
Poly() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Poly
 
Poly2D - Class in com.cyphercove.gdx.flexbatch.batchable
 
Poly2D() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
populateQuadrangleIndices(short[]) - Static method in class com.cyphercove.gdx.flexbatch.utils.BatchablePreparation
Populates an array of triangle indices for quadrangles made up of two triangles.
populateTriangleIndices(short[]) - Method in class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
Populate the fixed triangle array for the FlexBatch's mesh.
populateTriangleIndices(short[]) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
position(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
Sets the position of the bottom left of the texture region in world space.
position(Vector2) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
Sets the position of the bottom left of the texture region in world space.
position(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
Sets the position of the bottom left of the texture region in world space.
position(Vector2) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
Sets the position of the bottom left of the texture region in world space.
position(float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the position of the center (plus current origin offset) of the texture region in world space.
position(Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the position of the center (plus current origin offset) of the texture region in world space.
position - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
prepareContext(RenderContextAccumulator, int, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
prepareContext(RenderContextAccumulator, int, int) - Method in class com.cyphercove.gdx.flexbatch.Batchable
Called before Batchable.apply(float[], int, AttributeOffsets, int) to set render context states and texture bindings, and to determine if a flush is necessary before this Batchable can be drawn.
prepareContext(RenderContextAccumulator, int, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
prepareContext(RenderContextAccumulator, int, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
prepareIndices(Class<T>) - Static method in class com.cyphercove.gdx.flexbatch.Batchable.FixedSizeBatchable
Primes a FixedSizeBatchable implementation for drawing with FlexBatches that are not limited to FixedSizeBatchables.
prepareSharedContext(RenderContextAccumulator) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
prepareSharedContext(RenderContextAccumulator) - Method in class com.cyphercove.gdx.flexbatch.Batchable
Prepares the rendering context for this type of Batchable to be drawn.
prepareSharedContext(RenderContextAccumulator) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
prepareSharedContext(RenderContextAccumulator) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 

Q

Quad - Class in com.cyphercove.gdx.flexbatch.batchable
A Batchable representing a rectangle and supporting zero or more Textures/TextureRegions, and supporting color, position, scale, and an origin offset.
Quad() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Quad
 
Quad2D - Class in com.cyphercove.gdx.flexbatch.batchable
A Quad Batchable that supports a single texture at a time, with two-dimensional position and color.
Quad2D() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
Quad3D - Class in com.cyphercove.gdx.flexbatch.batchable
A Quad Batchable that supports a single texture at a time, with two-dimensional position and color.
Quad3D() - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Quad3D
A Quad3D that starts opaque.
Quad3D(int, int) - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Quad3D
A Quad3D that starts with blending enabled, with the specified blend factors.
Quad3D(Quad3D.Blending) - Constructor for class com.cyphercove.gdx.flexbatch.batchable.Quad3D
A Quad3D that starts with blending enabled, and a common set of blend factors.
Quad3D.Blending - Enum in com.cyphercove.gdx.flexbatch.batchable
Commonly used blend function factor pairs, for convenience.

R

refresh() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
refresh() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
refresh() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
refresh() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
refresh() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
refresh() - Method in class com.cyphercove.gdx.flexbatch.Batchable
Resets the state and default parameters of the Batchable so it can be reused for an entirely new image.
region - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
region(PolygonRegion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
Sets the polygon region.
region(PolygonRegion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
region(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Sets the UV region of the most recently applied texture.
region(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
region(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
Region2D - Class in com.cyphercove.gdx.flexbatch.utils
Minimal data to define a two-dimensional region of any Texture or TextureArray.
Region2D() - Constructor for class com.cyphercove.gdx.flexbatch.utils.Region2D
 
regions - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
regionTexels(int, int, int, int) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Sets the UV region of the most recently applied texture, using texel units.
renderCalls - Variable in class com.cyphercove.gdx.flexbatch.FlexBatch
Number of render calls since the last begin().
RenderContextAccumulator - Class in com.cyphercove.gdx.flexbatch.utils
Stores up pending GL state changes and textures to bind, and executes them on demand.
RenderContextAccumulator() - Constructor for class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
 
repeatPreviousFlush() - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
Flushes the same triangles drawn the last time a flush occurred.
reset() - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
Resets the state of the object and drops Texture references to prepare it for returning to a Pool.
reset() - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Resets the state of the object and drops Texture references to prepare it for returning to a Pool.
rotate(Quaternion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Rotates the current orientation by a specific Quaternion.
rotateCoordinates90(boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Rotates the texture region(s) 90 degrees in place by rotating the texture coordinates.
rotateCoordinates90(boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
rotateCoordinates90(boolean) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
rotateX(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Rotates from the current orientation by a specific angle about the X axis.
rotateY(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Rotates from the current orientation by a specific angle about the Y axis.
rotateZ(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Rotates from the current orientation by a specific angle about the Z axis.
rotation - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
rotation(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
rotation - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
rotation(float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
rotation - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
rotation(Quaternion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to a specific Quaternion.
rotation(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to a specific Quaternion.
rotation(Vector3, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to a specific angle about an axis.
rotation(float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation to specific Euler angles.
rotation(float, float, float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation based on a direction vector and up vector.
rotation(Vector3, Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Sets the rotation based on a direction vector and up vector.

S

scale(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
scale(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
scale(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
scale(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
scale(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
scaleX - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
scaleX - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
scaleY - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
scaleY - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
set(TextureRegion) - Method in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
setBlendEquation(int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the blend equation.
setBlendEquation(int, int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the blend equations, using separate equations for the color and alpha components.
setBlendFunction(int, int) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
setBlendFunction(int, int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the blendFunc parameters.
setBlendFunction(int, int, int, int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the blendFunc, using separate parameters for the color and alpha components.
setBlendFunctionSeparate(int, int, int, int) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
setBlending(boolean) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Enables or disables blending.
setCamera(Camera) - Method in class com.cyphercove.gdx.flexbatch.utils.BatchableSorter
Sets the camera that is used for distance comparisons to sort the blended Batchables.
setColor(Color) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
Sets the color used to tint images when they are added to the Batch.
setColor(float, float, float, float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
Sets the color used to tint images when they are added to the Batch.
setColor(float) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
Sets the color used to tint images when they are added to the Batch.
setCullFace(int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets which face(s) is culled when face culling is enabled.
setDepthFunction(int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the depth test function and a depth range of 0 to 1.
setDepthFunction(int, float, float) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the depth test function and range.
setDepthMasking(boolean) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Enables or disables depth buffer writing.
setDepthTesting(boolean) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Enables or disables depth testing.
setFaceCulling(boolean) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Enables or disables face culling.
setFull() - Method in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
setProjectionMatrix(Matrix4) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
setShader(ShaderProgram) - Method in class com.cyphercove.gdx.flexbatch.CompliantBatch
 
setShader(ShaderProgram) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
setTextureUnit(GLTexture, int) - Method in class com.cyphercove.gdx.flexbatch.utils.RenderContextAccumulator
Sets the texture to be bound to the given texture unit.
setTransformMatrix(Matrix4) - Method in class com.cyphercove.gdx.flexbatch.FlexBatch
 
size(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
size(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Poly2D
 
size(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
size(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
size(float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
sizeSet - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
Whether the width and height have been set since the last call to Poly.refresh().
sizeSet - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
Whether the width and height have been set since the last call to Quad.refresh().
SortableBatchable<T extends Batchable> - Interface in com.cyphercove.gdx.flexbatch.utils
A 3D Batchable that can be sorted by BatchableSorter.
srcBlendFactor - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 

T

tangent - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
texture(GLTexture) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Sets the texture and sets the region to match the size of the texture.
texture(Texture) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
texture(Texture) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
textureCoordinate0 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
textureCoordinate1 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
textureCoordinate2 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
textureCoordinate3 - Variable in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
 
textureRegion(TextureRegion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad
Sets the texture region.
textureRegion(TextureRegion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad2D
 
textureRegion(TextureRegion) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
textures - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
totalRenderCalls - Variable in class com.cyphercove.gdx.flexbatch.FlexBatch
Number of rendering calls, ever.
translate(float, float, float) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Translates the current position by the given amount.
translate(Vector3) - Method in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
Translates the current position by the given amount.

U

u - Variable in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
u2 - Variable in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
udpate() - Method in class com.cyphercove.gdx.flexbatch.utils.AttributeOffsets
Refreshes the mapping of aliases to offsets.

V

v - Variable in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
v2 - Variable in class com.cyphercove.gdx.flexbatch.utils.Region2D
 
valueOf(String) - Static method in enum com.cyphercove.gdx.flexbatch.batchable.Quad3D.Blending
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.cyphercove.gdx.flexbatch.batchable.Quad3D.Blending
Returns an array containing the constants of this enum type, in the order they are declared.

W

WHITE - Static variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
WHITE - Static variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 
width - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
Width and height must be set with Poly.size(float, float).
width - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
Width and height must be set with Quad.size(float, float).

X

x - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
x - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 

Y

y - Variable in class com.cyphercove.gdx.flexbatch.batchable.Poly
 
y - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad
 

Z

z - Variable in class com.cyphercove.gdx.flexbatch.batchable.Quad3D
 
A B C D E F G H I L N O P Q R S T U V W X Y Z 
Skip navigation links