Class TexturedRectRenderObject
java.lang.Object
dev.pfaff.altargui.render.Uploadable
dev.pfaff.altargui.render.RenderObject
dev.pfaff.altargui.render.objects.IRectRenderObject
dev.pfaff.altargui.render.objects.TexturedRectRenderObject
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsFields inherited from class dev.pfaff.altargui.render.RenderObject
EMPTY_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
program()
int
size()
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.toString()
void
updateTex
(TextureHandle handle, Tex2d tex) Ignores texture id.void
void
uSpecUploadAtUnchecked
(ViaIntermediateBuffer buffer, long offset) void
uSpecUploadCanvas
(CanvasImpl canvas) void
Methods inherited from class dev.pfaff.altargui.render.objects.IRectRenderObject
getColor, getHeight, getWidth, getX, getY, instanceCount, updateColor, updatePosition, updatePositionSize, updateSize
Methods inherited from class dev.pfaff.altargui.render.RenderObject
buildSingleStatic, buildStatic
-
Field Details
-
LAYOUT
-
-
Constructor Details
-
TexturedRectRenderObject
public TexturedRectRenderObject()
-
-
Method Details
-
updateTex
Ignores texture id. -
instanceLayout
- Specified by:
instanceLayout
in classRenderObject
-
size
public int size()Description copied from class:Uploadable
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.- Overrides:
size
in classIRectRenderObject
-
uploadTo
- Specified by:
uploadTo
in classUploadable
-
uSpecUploadAtUnchecked
- Overrides:
uSpecUploadAtUnchecked
in classUploadable
-
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
-
toString
-