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

public abstract non-sealed class RenderObject extends Uploadable implements AutoCloseable
  • Field Details

    • EMPTY_ARRAY

      public static final RenderObject[] EMPTY_ARRAY
  • Constructor Details

    • RenderObject

      public RenderObject()
  • Method Details

    • instanceCount

      public abstract int instanceCount()
    • instanceLayout

      public abstract MemoryLayout instanceLayout()
    • size

      public int size()
      Description copied from class: Uploadable
      The number of bytes that this consumer will provide the sink with upon Uploadable.uploadTo(Sink).
      Specified by:
      size in class Uploadable
    • program

      public abstract int program()
    • close

      public abstract void close()
      Specified by:
      close in interface AutoCloseable
    • uSpecUploadCanvas

      public void uSpecUploadCanvas(CanvasImpl canvas)
    • uSpecUploadLayered

      public void uSpecUploadLayered(LayeredRenderBuffer buffer)