Class PipelineDesc

java.lang.Object
icyllis.arc3d.engine.PipelineDesc
Direct Known Subclasses:
GraphicsPipelineDesc

public abstract class PipelineDesc extends Object
Abstract class that provides key and full information about a graphics pipeline or a compute pipeline, except for render pass information.

Subclass must implement Object.hashCode() and Object.equals(Object).

  • Field Details

  • Constructor Details

    • PipelineDesc

      public PipelineDesc()
  • Method Details

    • createGraphicsPipelineInfo

      public PipelineDesc.GraphicsPipelineInfo createGraphicsPipelineInfo(Device device)
      Generates all info used to create graphics pipeline.
    • getPrimitiveType

      public byte getPrimitiveType()
    • getBlendInfo

      public BlendInfo getBlendInfo()
    • getDepthStencilSettings

      public DepthStencilSettings getDepthStencilSettings()
    • getDynamicStates

      public int getDynamicStates()
      Returns a bitfield that represents dynamic states of this pipeline. These dynamic states must be supported by the backend.

      Viewport and scissor are always dynamic states.

    • copy

      public abstract PipelineDesc copy()
      Makes a deep copy of this desc, it must be immutable before return. No need to make its fields visible to all threads. If this desc is already immutable then subclass may return this.

      The Object.hashCode() and Object.equals(Object) of this and return value must be consistent.