Class LightLut.Layer<T>

java.lang.Object
dev.engine_room.flywheel.backend.engine.LightLut.Layer<T>
Enclosing class:
LightLut

public static final class LightLut.Layer<T> extends Object
  • Constructor Details

    • Layer

      public Layer()
  • Method Details

    • fillLut

      public void fillLut(it.unimi.dsi.fastutil.ints.IntArrayList lut, BiConsumer<T,it.unimi.dsi.fastutil.ints.IntArrayList> inner)
    • base

      public int base()
    • size

      public int size()
    • getRaw

      @Nullable public T getRaw(int i)
    • get

      @Nullable public T get(int i)
    • computeIfAbsent

      public T computeIfAbsent(int i, Supplier<T> ifAbsent)
    • prune

      public boolean prune(LightLut.Prune<T> inner)
      Returns:
      true if the layer is now empty.