Class Shaders.SurfaceShader

java.lang.Object
arc.graphics.gl.Shader
mindustry.graphics.Shaders.SurfaceShader
All Implemented Interfaces:
Disposable
Direct Known Subclasses:
Shaders.SpaceShader
Enclosing class:
Shaders

public static class Shaders.SurfaceShader extends Shader
  • Constructor Details

    • SurfaceShader

      public SurfaceShader(String frag)
    • SurfaceShader

      public SurfaceShader(String vertRaw, String fragRaw)
  • Method Details

    • textureName

      public String textureName()
    • loadNoise

      public void loadNoise()
    • apply

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