Interface Blender

All Superinterfaces:
RefCounted
All Known Implementing Classes:
BlendMode

public interface Blender extends RefCounted
Blender represents a custom blend function in the pipeline. A blender combines a source color (from the paint) and destination color (from the canvas) into a new color.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default BlendMode
    Returns the blender's BlendMode in 'mode' if this Blender represents any BlendMode.

    Methods inherited from interface icyllis.arc3d.core.RefCounted

    ref, unref
  • Method Details

    • asBlendMode

      @Nullable default BlendMode asBlendMode()
      Returns the blender's BlendMode in 'mode' if this Blender represents any BlendMode. Returns null for other types of blends.