Class RenderSystem.AutoStorageIndexBuffer

java.lang.Object
com.mojang.blaze3d.systems.RenderSystem.AutoStorageIndexBuffer
All Implemented Interfaces:
AutoCloseable
Enclosing class:
RenderSystem

public static final class RenderSystem.AutoStorageIndexBuffer extends Object implements AutoCloseable
  • Field Details

  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • hasStorage

      public boolean hasStorage(int indexCount)
    • getBuffer

      public GpuBuffer getBuffer(int indexCount)
    • ensureStorage

      private void ensureStorage(int indexCount)
    • intConsumer

      private it.unimi.dsi.fastutil.ints.IntConsumer intConsumer(ByteBuffer buffer)
    • type

      public IndexType type()