Class EmbeddedLightVolume

java.lang.Object
com.jozufozu.flywheel.backend.engine.embed.EmbeddedLightVolume

public class EmbeddedLightVolume extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    protected @Nullable MemoryBlock
     
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    blit(long src, int srcX, int srcY, int srcZ, int srcSizeX, int srcSizeY, long dst, int dstX, int dstY, int dstZ, int dstSizeX, int dstSizeY, int sizeX, int sizeY, int sizeZ)
     
    void
     
    void
    collect(net.minecraft.world.level.BlockAndTintGetter level, int minX, int minY, int minZ, int sizeX, int sizeY, int sizeZ)
     
    void
     
    boolean
     
    static long
    offset(int x, int y, int z, int sizeX, int sizeY)
     
    long
    ptr()
     
    int
     
    int
     
    int
     
    int
     
    int
    x()
     
    int
    y()
     
    int
    z()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • STRIDE

      public static final long STRIDE
      See Also:
    • memoryBlock

      @Nullable protected @Nullable MemoryBlock memoryBlock
    • empty

      protected boolean empty
  • Constructor Details

    • EmbeddedLightVolume

      public EmbeddedLightVolume()
  • Method Details

    • empty

      public boolean empty()
    • collect

      public void collect(net.minecraft.world.level.BlockAndTintGetter level, int minX, int minY, int minZ, int sizeX, int sizeY, int sizeZ)
    • blit

      public static void blit(long src, int srcX, int srcY, int srcZ, int srcSizeX, int srcSizeY, long dst, int dstX, int dstY, int dstZ, int dstSizeX, int dstSizeY, int sizeX, int sizeY, int sizeZ)
    • offset

      public static long offset(int x, int y, int z, int sizeX, int sizeY)
    • clear

      public void clear()
    • delete

      public void delete()
    • ptr

      public long ptr()
    • x

      public int x()
    • y

      public int y()
    • z

      public int z()
    • sizeX

      public int sizeX()
    • sizeY

      public int sizeY()
    • sizeZ

      public int sizeZ()
    • volume

      public int volume()