Class UploadableChar
java.lang.Object
dev.pfaff.altargui.uploadables.UploadableChar
- All Implemented Interfaces:
Uploadable
-
Field Summary
FieldsFields 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 TypeMethodDescriptionint
size()
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.void
updateChar
(char c) void
updateChar
(char c, float offsetX, float offsetY, float scaleFactorU, float scaleFactorV) void
updateColor
(Color color) void
updatePositionSizeFlags
(float x, float y, float size, int flags) void
updateTexLayer
(int layer) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.uploadables.Uploadable
uSpecUploadAtUnchecked
-
Field Details
-
EMPTY_ARRAY
-
-
Constructor Details
-
UploadableChar
-
-
Method Details
-
updatePositionSizeFlags
public void updatePositionSizeFlags(float x, float y, float size, int flags) -
updateTexLayer
public void updateTexLayer(int layer) -
updateColor
-
updateChar
public void updateChar(char c) -
updateChar
public void updateChar(char c, float offsetX, float offsetY, float scaleFactorU, float scaleFactorV) -
size
public int size()Description copied from interface:Uploadable
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.- Specified by:
size
in interfaceUploadable
-
uploadTo
- Specified by:
uploadTo
in interfaceUploadable
-