Class 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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • PipelineState

        protected PipelineState()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(int pname)
      • dispose

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