Class GpuBuffer

java.lang.Object
net.minecraft.client.gl.GpuBuffer
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
class_10859

@Environment(CLIENT) public abstract class GpuBuffer extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/gl/GpuBuffer
intermediary net/minecraft/class_10227
official fig
  • Field Details

    • target

      private final GlBufferTarget target
      Mappings:
      Namespace Name Mixin selector
      named target Lnet/minecraft/client/gl/GpuBuffer;target:Lnet/minecraft/client/gl/GlBufferTarget;
      intermediary field_54353 Lnet/minecraft/class_10227;field_54353:Lnet/minecraft/class_10226;
      official b Lfig;b:Lfie;
    • usage

      private final GlUsage usage
      Mappings:
      Namespace Name Mixin selector
      named usage Lnet/minecraft/client/gl/GpuBuffer;usage:Lnet/minecraft/client/gl/GlUsage;
      intermediary field_54354 Lnet/minecraft/class_10227;field_54354:Lnet/minecraft/class_8555;
      official c Lfig;c:Lfif;
    • size

      public int size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/client/gl/GpuBuffer;size:I
      intermediary field_54351 Lnet/minecraft/class_10227;field_54351:I
      official a Lfig;a:I
  • Constructor Details

  • Method Details

    • getSize

      public int getSize()
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/client/gl/GpuBuffer;getSize()I
      intermediary method_68151 Lnet/minecraft/class_10227;method_68151()I
      official a Lfig;a()I
    • getTarget

      public GlBufferTarget getTarget()
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/client/gl/GpuBuffer;getTarget()Lnet/minecraft/client/gl/GlBufferTarget;
      intermediary method_68152 Lnet/minecraft/class_10227;method_68152()Lnet/minecraft/class_10226;
      official b Lfig;b()Lfie;
    • method_68343

      public GlUsage method_68343()
      Mappings:
      Namespace Name Mixin selector
      named method_68343 Lnet/minecraft/client/gl/GpuBuffer;method_68343()Lnet/minecraft/client/gl/GlUsage;
      intermediary method_68343 Lnet/minecraft/class_10227;method_68343()Lnet/minecraft/class_8555;
      official c Lfig;c()Lfif;
    • method_68668

      public abstract boolean method_68668()
      Mappings:
      Namespace Name Mixin selector
      named method_68668 Lnet/minecraft/client/gl/GpuBuffer;method_68668()Z
      intermediary method_68668 Lnet/minecraft/class_10227;method_68668()Z
      official d Lfig;d()Z
    • close

      public abstract void close()
      Specified by:
      close in interface AutoCloseable