Class VertGPURenderSystem<T extends IGPUVertsRenderable>

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IRenderSystem

public class VertGPURenderSystem<T extends IGPUVertsRenderable> extends ImmediateModeRenderSystem implements IObserver
Renders vertices using a VBO.
  • Field Details

    • camera

      protected ICamera camera
    • lines

      protected boolean lines
    • coordOffset

      protected int coordOffset
  • Constructor Details

  • Method Details

    • isLine

      public boolean isLine()
    • isPoint

      public boolean isPoint()
    • initShaderProgram

      protected void initShaderProgram()
      Specified by:
      initShaderProgram in class ImmediateModeRenderSystem
    • initVertices

      protected void initVertices()
      Specified by:
      initVertices in class ImmediateModeRenderSystem
    • renderStud

      public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
      Specified by:
      renderStud in class AbstractRenderSystem
    • buildVertexAttributes

      protected[] buildVertexAttributes()
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.