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 fwv$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate booleanprivate final longprivate final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
offset
private final long offset- Mappings:
Namespace Name Mixin selector named offsetLnet/minecraft/client/util/BufferAllocator$CloseableBuffer;offset:Jintermediary field_52089Lnet/minecraft/class_9799$class_9800;field_52089:Jofficial bLfwv$a;b:J
-
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 cLfwv$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 dLfwv$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 eLfwv$a;e:Z
-
-
Constructor Details
-
CloseableBuffer
CloseableBuffer(long offset, int size, int clearCount) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;<init>(Lnet/minecraft/client/util/BufferAllocator;JII)Vintermediary <init>Lnet/minecraft/class_9799$class_9800;<init>(Lnet/minecraft/class_9799;JII)Vofficial <init>Lfwv$a;<init>(Lfwv;JII)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 aLfwv$a;a()Ljava/nio/ByteBuffer;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-