Class GlGpuBuffer

java.lang.Object
com.mojang.blaze3d.buffers.GpuBuffer
net.minecraft.client.gl.GlGpuBuffer
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class GlGpuBuffer extends GpuBuffer
Mappings:
Namespace Name
named net/minecraft/client/gl/GlGpuBuffer
intermediary net/minecraft/class_10859
official fjc
  • Field Details Link icon

    • POOL Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      @Nullable protected final @Nullable Supplier<String> 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 Link icon

      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 Link icon

    • GlGpuBuffer Link icon

      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 Link icon

    • ensureAllocated Link icon

      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 Link icon

      public boolean isClosed()
      Specified by:
      isClosed in class GpuBuffer
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class GpuBuffer