Class GraphicsPipeline

java.lang.Object
rosequartz.ecb.Pipeline
rosequartz.gfx.GraphicsPipeline

public class GraphicsPipeline extends Pipeline
A pipeline capable of making calls to the 'rosequartz.graphics'-packages. It allows multiple behaviors to be added, but they will be called sequentially. Methods that throw 'rosequartz.graphics.NotOnGraphicsThreadException' will be able to be called from this type of pipeline.
See Also:
NotOnGraphicsThreadException
  • Constructor Details

    • GraphicsPipeline

      public GraphicsPipeline()
      Creates a new GraphicsPipeline.
    • GraphicsPipeline

      public GraphicsPipeline(Behavior behavior)
      Creates a new GraphicsPipeline.
      Parameters:
      behavior - behavior to add to the pipeline
    • GraphicsPipeline

      public GraphicsPipeline(String name)
      Creates a new GraphicsPipeline.
      Parameters:
      name - name of the pipeline
    • GraphicsPipeline

      public GraphicsPipeline(String name, Behavior behavior)
      Creates a new GraphicsPipeline.
      Parameters:
      name - name of the pipeline
      behavior - behavior to add to the pipeline
  • Method Details

    • run

      protected void run()
      Description copied from class: Pipeline
      Executes the pipeline.
      Overrides:
      run in class Pipeline