Class Shaders.ShockwaveShader

All Implemented Interfaces:
Disposable
Enclosing class:
Shaders

public static class Shaders.ShockwaveShader extends Shaders.LoadShader
  • Field Details

    • data

      protected FloatSeq data
    • uniforms

      protected FloatSeq uniforms
    • hadAny

      protected boolean hadAny
    • buffer

      protected FrameBuffer buffer
    • lifetime

      public float lifetime
  • Constructor Details

    • ShockwaveShader

      public ShockwaveShader()
  • Method Details

    • apply

      public void apply()
      Description copied from class: Shader
      Applies all relevant uniforms, if applicable. Should be overridden.
      Overrides:
      apply in class Shader
    • add

      public void add(float x, float y, float radius)
    • add

      public void add(float x, float y, float radius, float lifetime)