Class PipelineState

java.lang.Object
gaiasky.util.gdx.contrib.postprocess.PipelineState
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public final class PipelineState
extends java.lang.Object
implements com.badlogic.gdx.utils.Disposable
Provides a simple mechanism to query OpenGL pipeline states. Note: state queries are costly and stall the pipeline, especially on mobile devices!
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected PipelineState()  
  • Method Summary

    Modifier and Type Method Description
    void dispose()  
    boolean isEnabled​(int pname)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PipelineState

      protected PipelineState()
  • Method Details

    • isEnabled

      public boolean isEnabled​(int pname)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable