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 fla$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 bLfla$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 cLfla$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 dLfla$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 eLfla$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>Lfla$a;<init>(Lfla;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 aLfla$a;a()Ljava/nio/ByteBuffer;
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable
 
 -