Class TextCharRenderObject
java.lang.Object
dev.pfaff.altargui.render.RenderObject
dev.pfaff.altargui.render.objects.TextCharRenderObject
- All Implemented Interfaces:
Uploadable
,AutoCloseable
-
Field Summary
Fields inherited from class dev.pfaff.altargui.render.RenderObject
EMPTY_ARRAY
Fields inherited from interface dev.pfaff.altargui.uploadables.Uploadable
POSITION_LAYOUT, POSITION_PACKED_LAYOUT, UV_LAYOUT, UV_PACKED_LAYOUT, VERTEX_LAYOUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
int
program()
void
updateCharacter
(byte character) void
updateColor
(Color color) void
updatePosition
(float x, float y) void
updateSize
(float size) void
updateStyle
(int flags) void
void
uSpecUploadAtUnchecked
(ViaIntermediateBuffer buffer, long offset) void
uSpecUploadCanvas
(CanvasImpl canvas) void
Methods inherited from class dev.pfaff.altargui.render.RenderObject
buildSingleStatic, buildStatic, size
-
Constructor Details
-
TextCharRenderObject
public TextCharRenderObject()
-
-
Method Details
-
updatePosition
public void updatePosition(float x, float y) -
updateCharacter
public void updateCharacter(byte character) -
updateSize
public void updateSize(float size) -
updateColor
-
updateStyle
public void updateStyle(int flags) -
instanceCount
public int instanceCount()- Specified by:
instanceCount
in classRenderObject
-
instanceLayout
- Specified by:
instanceLayout
in classRenderObject
-
uploadTo
-
uSpecUploadAtUnchecked
-
uSpecUploadCanvas
- Overrides:
uSpecUploadCanvas
in classRenderObject
-
uSpecUploadLayered
- Overrides:
uSpecUploadLayered
in classRenderObject
-
program
public int program()- Specified by:
program
in classRenderObject
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classRenderObject
-