Interface RenderObject

All Superinterfaces:
AutoCloseable, Uploadable
All Known Subinterfaces:
IRectRenderObject
All Known Implementing Classes:
DebugRectRenderObject, OutlineRenderObject, RectRenderObject, StaticCPUBuffer, StaticGPUBuffer, TextCharRenderObject, TextRenderObject, TexturedRectRenderObject

public interface RenderObject extends 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.