Class PixelBufferView<T>

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.engine.views.PixelBufferView<T>
All Implemented Interfaces:
VoxelSpace<T>

public class PixelBufferView<T> extends Object implements VoxelSpace<T>
  • Field Details

  • Constructor Details

  • Method Details

    • set

      public void set(T content, int x, int y, int z)
      Specified by:
      set in interface VoxelSpace<T>
    • set

      public void set(T value, @Nonnull org.joml.Vector3i position_voxelGrid)
      Specified by:
      set in interface VoxelSpace<T>
    • setAll

      public void setAll(T content)
      Specified by:
      setAll in interface VoxelSpace<T>
    • get

      @Nullable public T get(int x, int y, int z)
      Specified by:
      get in interface VoxelSpace<T>
    • get

      @Nullable public T get(@Nonnull org.joml.Vector3i position_voxelGrid)
      Specified by:
      get in interface VoxelSpace<T>
    • getBounds

      @Nonnull public Bounds3i getBounds()
      Specified by:
      getBounds in interface VoxelSpace<T>