Class MeshDrawOp

All Implemented Interfaces:
Rect2fc, Mesh
Direct Known Subclasses:
CircularRRectOp, RectOp, RoundRectOp

@Deprecated public abstract class MeshDrawOp extends DrawOp implements Mesh
Deprecated.
Base class for mesh-drawing DrawOps.
  • Constructor Details

    • MeshDrawOp

      public MeshDrawOp()
      Deprecated.
  • Method Details

    • getPipelineInfo

      public GraphicsPipelineDesc_Old getPipelineInfo()
      Deprecated.
    • getPipelineState

      public GraphicsPipeline getPipelineState()
      Deprecated.
    • getVertexSize

      public int getVertexSize()
      Deprecated.
      Description copied from interface: Mesh
      Returns the size of a vertex if enabled in the array.
      Specified by:
      getVertexSize in interface Mesh
    • getInstanceSize

      public int getInstanceSize()
      Deprecated.
      Description copied from interface: Mesh
      Returns the size of an instance if enabled in the array.
      Specified by:
      getInstanceSize in interface Mesh
    • 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 final 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
    • onCreatePipelineInfo

      @Nonnull protected abstract GraphicsPipelineDesc_Old onCreatePipelineInfo(ImageProxyView writeView, int pipelineFlags)
      Deprecated.
    • onPrepareDraws

      protected abstract void onPrepareDraws(MeshDrawTarget target)
      Deprecated.