Package net.minecraft.client.util
Class BufferAllocator.CloseableBuffer
java.lang.Object
net.minecraft.client.util.BufferAllocator.CloseableBuffer
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
BufferAllocator
@Environment(CLIENT)
public class BufferAllocator.CloseableBuffer
extends Object
implements AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/util/BufferAllocator$CloseableBufferintermediary net/minecraft/class_9799$class_9800official fbf$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate booleanprivate final intprivate final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector named offsetLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;offset:Iintermediary field_52089Lnet/minecraft/class_9799$class_9800;field_52089:Iofficial bLfbf$a;b:I
-
size
private final int size- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;size:Iintermediary field_52090Lnet/minecraft/class_9799$class_9800;field_52090:Iofficial cLfbf$a;c:I
-
clearCount
private final int clearCount- Mappings:
Namespace Name Mixin selector named clearCountLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;clearCount:Iintermediary field_52091Lnet/minecraft/class_9799$class_9800;field_52091:Iofficial dLfbf$a;d:I
-
closed
private boolean closed- Mappings:
Namespace Name Mixin selector named closedLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;closed:Zintermediary field_52092Lnet/minecraft/class_9799$class_9800;field_52092:Zofficial eLfbf$a;e:Z
-
-
Constructor Details
-
CloseableBuffer
CloseableBuffer(int offset, int size, int clearCount) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;<init>(Lnet/minecraft/client/util/BufferAllocator;III)Vintermediary <init>Lnet/minecraft/class_9799$class_9800;<init>(Lnet/minecraft/class_9799;III)Vofficial <init>Lfbf$a;<init>(Lfbf;III)V
-
-
Method Details
-
getBuffer
- Mappings:
Namespace Name Mixin selector named getBufferLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;getBuffer()Ljava/nio/ByteBuffer;intermediary method_60817Lnet/minecraft/class_9799$class_9800;method_60817()Ljava/nio/ByteBuffer;official aLfbf$a;a()Ljava/nio/ByteBuffer;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-