Interface MetricsBatch
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MeshBatch,MultiTextureMeshBatch,TextureArrayMeshBatch
-
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(com.badlogic.gdx.math.Matrix4 combined, RenderStats stats) voidclose()voiddraw(int textureHandle, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float u, float v, float u2, float v2, RenderStats stats) voidend(RenderStats stats) voidflush(RenderStats stats) voidsetBlendMode(boolean enabled, int sfactor, int dfactor, RenderStats stats) voidsetColor(float r, float g, float b, float a) default voidsetPackedColor(float packed) voidsetShader(com.badlogic.gdx.graphics.glutils.ShaderProgram shader, RenderStats stats) default void
-
Method Details
-
begin
-
setShader
-
setBlendMode
-
setColor
void setColor(float r, float g, float b, float a) -
setPackedColor
default void setPackedColor(float packed) -
draw
void draw(int textureHandle, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float u, float v, float u2, float v2, RenderStats stats) -
flush
-
end
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
setTextureArrayBundle
-