Class FragmentNode

java.lang.Object
icyllis.arc3d.granite.FragmentNode

public class FragmentNode extends Object
FragmentNodes organize stages into an effect tree, and provide random access to the dynamically bound child stages. Each node has a fixed number of children defined by its stage ID (either a BuiltinStageID or a custom effect's assigned ID). All children are non-null. A FragmentNode tree represents a decompressed PaintParamsKey.
  • Field Details

    • NO_CHILDREN

      public static final FragmentNode[] NO_CHILDREN
  • Constructor Details

  • Method Details

    • stage

      public FragmentStage stage()
    • stageID

      public int stageID()
    • stageIndex

      public int stageIndex()
    • numChildren

      public int numChildren()
    • childAt

      public FragmentNode childAt(int index)
    • children

      public FragmentNode[] children()
    • requirementFlags

      public int requirementFlags()