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
Most use cases should be satisfied by buildSingleStatic(int, dev.pfaff.altargui.shader.InstanceLayout, java.util.function.Consumer<dev.pfaff.altargui.render.Sink>). However, if you require rapidly updating data that is specific to each instance, rather than each program (in which case you should use a custom shader and uniforms instead), then a custom implementation may be warranted.
  • Field Details

    • EMPTY_ARRAY

      public static final RenderObject[] EMPTY_ARRAY
  • Constructor Details

    • RenderObject

      public RenderObject()
  • Method Details