Interface IRectRenderObject

All Superinterfaces:
AutoCloseable, RenderObject, Uploadable
All Known Implementing Classes:
RectRenderObject, TexturedRectRenderObject

public sealed interface IRectRenderObject extends RenderObject permits RectRenderObject, TexturedRectRenderObject
  • Method Details

    • updatePosition

      void updatePosition(float x, float y)
    • updateSize

      void updateSize(float width, float height)
    • updatePositionSize

      default void updatePositionSize(float x, float y, float width, float height)
    • updateColor

      void updateColor(Color color)
      Parameters:
      color - RGBA
    • instanceCount

      default int instanceCount()
      Specified by:
      instanceCount in interface RenderObject
    • size

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