28 lines
839 B
Java
28 lines
839 B
Java
package com.mojang.blaze3d;
|
|
|
|
import com.mojang.blaze3d.pipeline.RenderCall;
|
|
import com.mojang.blaze3d.pipeline.RenderPipeline;
|
|
import java.util.concurrent.ConcurrentLinkedQueue;
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
import org.lwjgl.glfw.GLFW;
|
|
import org.lwjgl.system.MemoryUtil;
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
public class Blaze3D {
|
|
public static void process(RenderPipeline pipeline, float unknown) {
|
|
ConcurrentLinkedQueue<RenderCall> concurrentLinkedQueue = pipeline.getRecordingQueue();
|
|
}
|
|
|
|
public static void render(RenderPipeline pipeline, float unknown) {
|
|
ConcurrentLinkedQueue<RenderCall> concurrentLinkedQueue = pipeline.getProcessedQueue();
|
|
}
|
|
|
|
public static void youJustLostTheGame() {
|
|
MemoryUtil.memSet(0L, 0, 1L);
|
|
}
|
|
|
|
public static double getTime() {
|
|
return GLFW.glfwGetTime();
|
|
}
|
|
}
|