Class GpuBuffer.ReadResult

java.lang.Object
net.minecraft.client.gl.GpuBuffer.ReadResult
All Implemented Interfaces:
AutoCloseable
Enclosing class:
GpuBuffer

@Environment(CLIENT) public static class GpuBuffer.ReadResult extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/gl/GpuBuffer$ReadResult
intermediary net/minecraft/class_10227$class_10228
official fem$a
  • Field Details

    • handle

      private final int handle
      Mappings:
      Namespace Name Mixin selector
      named handle Lnet/minecraft/client/gl/GpuBuffer$ReadResult;handle:I
      intermediary field_54357 Lnet/minecraft/class_10227$class_10228;field_54357:I
      official a Lfem$a;a:I
    • buf

      private final ByteBuffer buf
      Mappings:
      Namespace Name Mixin selector
      named buf Lnet/minecraft/client/gl/GpuBuffer$ReadResult;buf:Ljava/nio/ByteBuffer;
      intermediary field_54358 Lnet/minecraft/class_10227$class_10228;field_54358:Ljava/nio/ByteBuffer;
      official b Lfem$a;b:Ljava/nio/ByteBuffer;
  • Constructor Details

    • ReadResult

      protected ReadResult(int handle, ByteBuffer buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/GpuBuffer$ReadResult;<init>(ILjava/nio/ByteBuffer;)V
      intermediary <init> Lnet/minecraft/class_10227$class_10228;<init>(ILjava/nio/ByteBuffer;)V
      official <init> Lfem$a;<init>(ILjava/nio/ByteBuffer;)V
  • Method Details

    • getBuf

      public ByteBuffer getBuf()
      Mappings:
      Namespace Name Mixin selector
      named getBuf Lnet/minecraft/client/gl/GpuBuffer$ReadResult;getBuf()Ljava/nio/ByteBuffer;
      intermediary method_64323 Lnet/minecraft/class_10227$class_10228;method_64323()Ljava/nio/ByteBuffer;
      official a Lfem$a;a()Ljava/nio/ByteBuffer;
    • close

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