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
named com/mojang/blaze3d/systems/RenderCallStorage
intermediary net/minecraft/class_4491
official eyl
  • Field Details

    • recordingQueues

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

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

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

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

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

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

    • RenderCallStorage

      public RenderCallStorage()
  • Method Details

    • canRecord

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

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

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

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

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

      public boolean startProcessing()
      Mappings:
      Namespace Name Mixin selector
      named startProcessing Lcom/mojang/blaze3d/systems/RenderCallStorage;startProcessing()Z
      intermediary method_35604 Lnet/minecraft/class_4491;method_35604()Z
      official e Leyl;e()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
      named process Lcom/mojang/blaze3d/systems/RenderCallStorage;process()V
      intermediary method_35605 Lnet/minecraft/class_4491;method_35605()V
      official f Leyl;f()V
    • stopProcessing

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

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

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

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