Package net.minecraft.client.gl
Class GlGpuBuffer
java.lang.Object
com.mojang.blaze3d.buffers.GpuBuffer
net.minecraft.client.gl.GlGpuBuffer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/gl/GlGpuBufferintermediary net/minecraft/class_10859official fjc
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.mojang.blaze3d.buffers.GpuBuffer
GpuBuffer.ReadView -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected final intprotected static final com.mojang.jtracy.MemoryPool -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlGpuBuffer(DebugLabelManager labeler, @Nullable Supplier<String> debugLabelSupplier, BufferType type, BufferUsage 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 aLfjc;a: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 bLfjc;b: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 cLfjc;c: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 dLfjc;d: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 eLfjc;e:I
-
-
Constructor Details
-
GlGpuBuffer
protected GlGpuBuffer(DebugLabelManager labeler, @Nullable @Nullable Supplier<String> debugLabelSupplier, BufferType type, BufferUsage 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;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;II)Vintermediary <init>Lnet/minecraft/class_10859;<init>(Lnet/minecraft/class_10861;Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;II)Vofficial <init>Lfjc;<init>(Lfjf;Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;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 aLfjc;a()V
-
isClosed
public boolean isClosed() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuBuffer
-