Class LineQuadRenderSystem

All Implemented Interfaces:
IRenderSystem

public class LineQuadRenderSystem extends LineRenderSystem
Renders lines as Polyline Quadstrips (Polyboards). Slower but higher quality.
  • Field Details

  • Constructor Details

  • Method Details

    • initVertices

      protected void initVertices()
      Overrides:
      initVertices in class LineRenderSystem
    • buildVertexAttributes

      protected com.badlogic.gdx.graphics.VertexAttribute[] buildVertexAttributes()
      Overrides:
      buildVertexAttributes in class LineRenderSystem
    • uv

      public void uv(float u, float v)
    • breakLine

      public void breakLine()
      Description copied from class: LineRenderSystem
      Breaks current line of points
      Overrides:
      breakLine in class LineRenderSystem
    • addPoint

      public void addPoint(ILineRenderable lr, double x, double y, double z, float r, float g, float b, float a)
      Overrides:
      addPoint in class LineRenderSystem
    • addLine

      public void addLine(ILineRenderable lr, double x0, double y0, double z0, double x1, double y1, double z1, com.badlogic.gdx.graphics.Color c)
      Overrides:
      addLine in class LineRenderSystem
    • addLine

      public void addLine(ILineRenderable lr, double x0, double y0, double z0, double x1, double y1, double z1, float r, float g, float b, float a)
      Overrides:
      addLine in class LineRenderSystem
    • addLinePostproc

      public void addLinePostproc(gaiasky.render.system.LineQuadRenderSystem.Line l)
    • addLinePostproc

      public void addLinePostproc(double x0, double y0, double z0, double x1, double y1, double z1, double r, double g, double b, double a, double dist0, double dist1, double widthTan)
    • renderStud

      public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
      Overrides:
      renderStud in class LineRenderSystem
    • dispose

      public void dispose()
      Overrides:
      dispose in class ImmediateRenderSystem