Class RenderCallStorage

java.lang.Object
com.mojang.blaze3d.systems.RenderCallStorage

@Environment(CLIENT) public class RenderCallStorage extends Object
A storage of render calls with recording and processing states. It exposes three queues: a recording queue, a processing queue, and a last processed queue. The recording queue is equal to the processing queue during processing and different during recording.

This storage appears to be a work in progress, as its processing currently performs no operation.

Mappings:
Namespace Name
official dye
intermediary net/minecraft/class_4491
named com/mojang/blaze3d/systems/RenderCallStorage
  • Field Details

    • recordingQueues

      private final List<ConcurrentLinkedQueue<RenderCall>> recordingQueues
      Mappings:
      Namespace Name Mixin selector
      official a Ldye;a:Ljava/util/List;
      intermediary field_20453 Lnet/minecraft/class_4491;field_20453:Ljava/util/List;
      named recordingQueues Lcom/mojang/blaze3d/systems/RenderCallStorage;recordingQueues:Ljava/util/List;
    • recording

      private volatile boolean recording
      Mappings:
      Namespace Name Mixin selector
      official b Ldye;b:Z
      intermediary field_31899 Lnet/minecraft/class_4491;field_31899:Z
      named recording Lcom/mojang/blaze3d/systems/RenderCallStorage;recording:Z
    • recordingIndex

      private volatile int recordingIndex
      Mappings:
      Namespace Name Mixin selector
      official c Ldye;c:I
      intermediary field_20454 Lnet/minecraft/class_4491;field_20454:I
      named recordingIndex Lcom/mojang/blaze3d/systems/RenderCallStorage;recordingIndex:I
    • processing

      private volatile boolean processing
      Mappings:
      Namespace Name Mixin selector
      official d Ldye;d:Z
      intermediary field_31900 Lnet/minecraft/class_4491;field_31900:Z
      named processing Lcom/mojang/blaze3d/systems/RenderCallStorage;processing:Z
    • processingIndex

      private volatile int processingIndex
      Mappings:
      Namespace Name Mixin selector
      official e Ldye;e:I
      intermediary field_20455 Lnet/minecraft/class_4491;field_20455:I
      named processingIndex Lcom/mojang/blaze3d/systems/RenderCallStorage;processingIndex:I
    • lastProcessedIndex

      private volatile int lastProcessedIndex
      Mappings:
      Namespace Name Mixin selector
      official f Ldye;f:I
      intermediary field_20456 Lnet/minecraft/class_4491;field_20456:I
      named lastProcessedIndex Lcom/mojang/blaze3d/systems/RenderCallStorage;lastProcessedIndex:I
  • Constructor Details

    • RenderCallStorage

      public RenderCallStorage()
  • Method Details

    • canRecord

      public boolean canRecord()
      Mappings:
      Namespace Name Mixin selector
      official a Ldye;a()Z
      intermediary method_35599 Lnet/minecraft/class_4491;method_35599()Z
      named canRecord Lcom/mojang/blaze3d/systems/RenderCallStorage;canRecord()Z
    • startRecording

      public boolean startRecording()
      Mappings:
      Namespace Name Mixin selector
      official b Ldye;b()Z
      intermediary method_35601 Lnet/minecraft/class_4491;method_35601()Z
      named startRecording Lcom/mojang/blaze3d/systems/RenderCallStorage;startRecording()Z
    • record

      public void record(RenderCall call)
      Mappings:
      Namespace Name Mixin selector
      official a Ldye;a(Ldyd;)V
      intermediary method_35600 Lnet/minecraft/class_4491;method_35600(Lnet/minecraft/class_4573;)V
      named record Lcom/mojang/blaze3d/systems/RenderCallStorage;record(Lcom/mojang/blaze3d/systems/RenderCall;)V
    • stopRecording

      public void stopRecording()
      Mappings:
      Namespace Name Mixin selector
      official c Ldye;c()V
      intermediary method_35602 Lnet/minecraft/class_4491;method_35602()V
      named stopRecording Lcom/mojang/blaze3d/systems/RenderCallStorage;stopRecording()V
    • canProcess

      public boolean canProcess()
      Mappings:
      Namespace Name Mixin selector
      official d Ldye;d()Z
      intermediary method_35603 Lnet/minecraft/class_4491;method_35603()Z
      named canProcess Lcom/mojang/blaze3d/systems/RenderCallStorage;canProcess()Z
    • startProcessing

      public boolean startProcessing()
      Mappings:
      Namespace Name Mixin selector
      official e Ldye;e()Z
      intermediary method_35604 Lnet/minecraft/class_4491;method_35604()Z
      named startProcessing Lcom/mojang/blaze3d/systems/RenderCallStorage;startProcessing()Z
    • process

      public void process()
      No-op, but it seems like processing by method order and the check in method body.
      Mappings:
      Namespace Name Mixin selector
      official f Ldye;f()V
      intermediary method_35605 Lnet/minecraft/class_4491;method_35605()V
      named process Lcom/mojang/blaze3d/systems/RenderCallStorage;process()V
    • stopProcessing

      public void stopProcessing()
      Mappings:
      Namespace Name Mixin selector
      official g Ldye;g()V
      intermediary method_35606 Lnet/minecraft/class_4491;method_35606()V
      named stopProcessing Lcom/mojang/blaze3d/systems/RenderCallStorage;stopProcessing()V
    • getLastProcessedQueue

      public ConcurrentLinkedQueue<RenderCall> getLastProcessedQueue()
      Mappings:
      Namespace Name Mixin selector
      official h Ldye;h()Ljava/util/concurrent/ConcurrentLinkedQueue;
      intermediary method_35607 Lnet/minecraft/class_4491;method_35607()Ljava/util/concurrent/ConcurrentLinkedQueue;
      named getLastProcessedQueue Lcom/mojang/blaze3d/systems/RenderCallStorage;getLastProcessedQueue()Ljava/util/concurrent/ConcurrentLinkedQueue;
    • getRecordingQueue

      public ConcurrentLinkedQueue<RenderCall> getRecordingQueue()
      Mappings:
      Namespace Name Mixin selector
      official i Ldye;i()Ljava/util/concurrent/ConcurrentLinkedQueue;
      intermediary method_35608 Lnet/minecraft/class_4491;method_35608()Ljava/util/concurrent/ConcurrentLinkedQueue;
      named getRecordingQueue Lcom/mojang/blaze3d/systems/RenderCallStorage;getRecordingQueue()Ljava/util/concurrent/ConcurrentLinkedQueue;
    • getProcessingQueue

      public ConcurrentLinkedQueue<RenderCall> getProcessingQueue()
      Mappings:
      Namespace Name Mixin selector
      official j Ldye;j()Ljava/util/concurrent/ConcurrentLinkedQueue;
      intermediary method_35609 Lnet/minecraft/class_4491;method_35609()Ljava/util/concurrent/ConcurrentLinkedQueue;
      named getProcessingQueue Lcom/mojang/blaze3d/systems/RenderCallStorage;getProcessingQueue()Ljava/util/concurrent/ConcurrentLinkedQueue;