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/GlGpuBuffer
intermediary net/minecraft/class_10859
official fjc
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.mojang.blaze3d.buffers.GpuBuffer
GpuBuffer.ReadView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected final int
protected static final com.mojang.jtracy.MemoryPool
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GlGpuBuffer
(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 POOL
Lnet/minecraft/client/gl/GlGpuBuffer;POOL:Lcom/mojang/jtracy/MemoryPool;
intermediary field_57838
Lnet/minecraft/class_10859;field_57838:Lcom/mojang/jtracy/MemoryPool;
official a
Lfjc;a:Lcom/mojang/jtracy/MemoryPool;
-
closed
protected boolean closed- Mappings:
Namespace Name Mixin selector named closed
Lnet/minecraft/client/gl/GlGpuBuffer;closed:Z
intermediary field_57839
Lnet/minecraft/class_10859;field_57839:Z
official b
Lfjc;b:Z
-
hasData
protected boolean hasData- Mappings:
Namespace Name Mixin selector named hasData
Lnet/minecraft/client/gl/GlGpuBuffer;hasData:Z
intermediary field_57840
Lnet/minecraft/class_10859;field_57840:Z
official c
Lfjc;c:Z
-
debugLabelSupplier
- Mappings:
Namespace Name Mixin selector named debugLabelSupplier
Lnet/minecraft/client/gl/GlGpuBuffer;debugLabelSupplier:Ljava/util/function/Supplier;
intermediary field_57841
Lnet/minecraft/class_10859;field_57841:Ljava/util/function/Supplier;
official d
Lfjc;d:Ljava/util/function/Supplier;
-
id
protected final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/client/gl/GlGpuBuffer;id:I
intermediary field_57842
Lnet/minecraft/class_10859;field_57842:I
official e
Lfjc;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)V
intermediary <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)V
official <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 ensureAllocated
Lnet/minecraft/client/gl/GlGpuBuffer;ensureAllocated()V
intermediary method_68345
Lnet/minecraft/class_10859;method_68345()V
official a
Lfjc;a()V
-
isClosed
public boolean isClosed() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classGpuBuffer
-