Class PrimitiveVertexRenderSystem<T extends IGPUVertsRenderable>

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

public class PrimitiveVertexRenderSystem<T extends IGPUVertsRenderable> extends ImmediateModeRenderSystem implements IObserver
  • Field Details

    • logger

      protected static final Logger.Log logger
    • lines

      protected final boolean lines
    • vertsView

      protected final VertsView vertsView
    • camera

      protected ICamera camera
    • coordOffset

      protected int coordOffset
  • Constructor Details

  • Method Details

    • isLine

      public boolean isLine()
    • isPoint

      public boolean isPoint()
    • initShaderProgram

      protected void initShaderProgram()
      Description copied from class: AbstractRenderSystem
      Initializes metadata or essential uniforms in the shader program.
      Overrides:
      initShaderProgram in class AbstractRenderSystem
    • initVertices

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

      public void renderStud(List<IRenderable> renderables, ICamera camera, double t)
      Specified by:
      renderStud in class AbstractRenderSystem
    • buildVertexAttributes

      protected com.badlogic.gdx.graphics.VertexAttribute[] 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
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.