Package net.minecraft.client.gl
Class GlGpuBuffer
java.lang.Object
net.minecraft.client.gl.GpuBuffer
net.minecraft.client.gl.GlGpuBuffer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/gl/GlGpuBufferintermediary net/minecraft/class_10859official fiv
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gl.GpuBuffer
GpuBuffer.ReadResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected final intprotected static final com.mojang.jtracy.MemoryPool -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlGpuBuffer(DebugLabelManager debugLabeler, @Nullable Supplier<String> debugLabelSupplier, GlBufferTarget target, GlUsage usage, int size, int id) -
Method Summary
-
Field Details
-
POOL
protected static final com.mojang.jtracy.MemoryPool POOL- Mappings:
Namespace Name Mixin selector named POOLLnet/minecraft/client/gl/GlGpuBuffer;POOL:Lcom/mojang/jtracy/MemoryPool;intermediary field_57838Lnet/minecraft/class_10859;field_57838:Lcom/mojang/jtracy/MemoryPool;official bLfiv;b:Lcom/mojang/jtracy/MemoryPool;
-
closed
protected boolean closed- Mappings:
Namespace Name Mixin selector named closedLnet/minecraft/client/gl/GlGpuBuffer;closed:Zintermediary field_57839Lnet/minecraft/class_10859;field_57839:Zofficial cLfiv;c:Z
-
hasData
protected boolean hasData- Mappings:
Namespace Name Mixin selector named hasDataLnet/minecraft/client/gl/GlGpuBuffer;hasData:Zintermediary field_57840Lnet/minecraft/class_10859;field_57840:Zofficial dLfiv;d:Z
-
debugLabelSupplier
- Mappings:
Namespace Name Mixin selector named debugLabelSupplierLnet/minecraft/client/gl/GlGpuBuffer;debugLabelSupplier:Ljava/util/function/Supplier;intermediary field_57841Lnet/minecraft/class_10859;field_57841:Ljava/util/function/Supplier;official eLfiv;e:Ljava/util/function/Supplier;
-
id
protected final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/gl/GlGpuBuffer;id:Iintermediary field_57842Lnet/minecraft/class_10859;field_57842:Iofficial fLfiv;f:I
-
-
Constructor Details
-
GlGpuBuffer
protected GlGpuBuffer(DebugLabelManager debugLabeler, @Nullable @Nullable Supplier<String> debugLabelSupplier, GlBufferTarget target, GlUsage usage, int size, int id) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/GlGpuBuffer;<init>(Lnet/minecraft/client/gl/DebugLabelManager;Ljava/util/function/Supplier;Lnet/minecraft/client/gl/GlBufferTarget;Lnet/minecraft/client/gl/GlUsage;II)Vintermediary <init>Lnet/minecraft/class_10859;<init>(Lnet/minecraft/class_10861;Ljava/util/function/Supplier;Lnet/minecraft/class_10226;Lnet/minecraft/class_8555;II)Vofficial <init>Lfiv;<init>(Lfiy;Ljava/util/function/Supplier;Lfig;Lfih;II)V
-
-
Method Details
-
ensureAllocated
protected void ensureAllocated()- Mappings:
Namespace Name Mixin selector named ensureAllocatedLnet/minecraft/client/gl/GlGpuBuffer;ensureAllocated()Vintermediary method_68345Lnet/minecraft/class_10859;method_68345()Vofficial eLfiv;e()V
-
isClosed
public boolean isClosed() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuBuffer
-