Class RenderObject
java.lang.Object
dev.pfaff.altargui.render.Uploadable
dev.pfaff.altargui.render.RenderObject
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
DebugRectRenderObject
,IRectRenderObject
,OutlineRenderObject
,StaticCPUBuffer
,StaticGPUBuffer
,TextRenderObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
close()
abstract int
abstract MemoryLayout
abstract int
program()
int
size()
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.void
uSpecUploadCanvas
(CanvasImpl canvas) void
Methods inherited from class dev.pfaff.altargui.render.Uploadable
uploadTo, uSpecUploadAtUnchecked
-
Field Details
-
EMPTY_ARRAY
-
-
Constructor Details
-
RenderObject
public RenderObject()
-
-
Method Details
-
instanceCount
public abstract int instanceCount() -
instanceLayout
-
size
public int size()Description copied from class:Uploadable
The number of bytes that this consumer will provide the sink with uponUploadable.uploadTo(Sink)
.- Specified by:
size
in classUploadable
-
program
public abstract int program() -
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-
uSpecUploadCanvas
-
uSpecUploadLayered
-