Class GradientShader

java.lang.Object
icyllis.arc3d.core.shaders.GradientShader
All Implemented Interfaces:
RefCounted, Shader
Direct Known Subclasses:
Gradient1DShader, Gradient2DShader

public abstract sealed class GradientShader extends Object implements Shader permits Gradient1DShader, Gradient2DShader
Base class for shaders that generate gradient colors.
  • Field Details

  • Constructor Details

    • GradientShader

      public GradientShader()
  • Method Details

    • ref

      public void ref()
      Description copied from interface: RefCounted
      Increases the reference count by 1.
      Specified by:
      ref in interface RefCounted
    • unref

      public void unref()
      Description copied from interface: RefCounted
      Decreases the reference count by 1.
      Specified by:
      unref in interface RefCounted