Class RenderObject

java.lang.Object
dev.pfaff.altargui.render.RenderObject
All Implemented Interfaces:
Uploadable, AutoCloseable
Direct Known Subclasses:
DebugRectRenderObject, IRectRenderObject, OutlineRenderObject, StaticCPUBuffer, StaticGPUBuffer, TextCharRenderObject, TextRenderObject

public abstract class RenderObject extends Object implements Uploadable, 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