Class ClearOp

All Implemented Interfaces:
Rect2fc

@Deprecated public final class ClearOp extends Op
Deprecated.
  • Method Details

    • makeColor

      @Nonnull public static Op makeColor(int left, int top, int right, int bottom, float red, float green, float blue, float alpha)
      Deprecated.
    • makeStencil

      @Nonnull public static Op makeStencil(int left, int top, int right, int bottom, boolean insideMask)
      Deprecated.
    • onPrePrepare

      public void onPrePrepare(RecordingContext context, ImageProxyView writeView, int pipelineFlags)
      Deprecated.
      Description copied from class: Op
      This can optionally be called before 'prepare' (but after sorting). Each op that overrides onPrePrepare must be prepared to handle both cases (when onPrePrepare has been called ahead of time and when it has not been called).
      Specified by:
      onPrePrepare in class Op
    • onPrepare

      public void onPrepare(OpFlushState state, ImageProxyView writeView, int pipelineFlags)
      Deprecated.
      Description copied from class: Op
      Called prior to executing. The op should perform any resource creation or data transfers necessary before execute() is called.
      Specified by:
      onPrepare in class Op
    • onExecute

      public void onExecute(OpFlushState state, Rect2f chainBounds)
      Deprecated.
      Description copied from class: Op
      Issues the op chain's commands to OpsRenderPass.
      Specified by:
      onExecute in class Op
      Parameters:
      chainBounds - If this op is chained then chainBounds is the union of the bounds of all ops in the chain. Otherwise, this op's bounds.