com.mojang.blaze3d.systems

public class RenderSystem

com.mojang.blaze3d.systems.RenderSystem
com.mojang.blaze3d.systems.RenderSystem
com.mojang.blaze3d.systems.RenderSystem

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
public static final int
PROJECTION_MATRIX_UBO_SIZE
private static Thread
renderThread
private static GpuDevice
DEVICE
private static double
lastDrawTime
private static final RenderSystem$ShapeIndexBuffer
sharedSequential
private static final RenderSystem$ShapeIndexBuffer
sharedSequentialQuad
private static final RenderSystem$ShapeIndexBuffer
sharedSequentialLines
private static ProjectionType
projectionType
private static ProjectionType
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
private static GpuBufferSlice
shaderFog
private static GpuBufferSlice
shaderLightDirections
private static GpuBufferSlice
projectionMatrixBuffer
private static GpuBufferSlice
savedProjectionMatrixBuffer
private static String
apiDescription
private static final AtomicLong
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
private static final ArrayListDeque<RenderSystem$Task>
PENDING_FENCES
public static GpuTextureView
outputColorTextureOverride
public static GpuTextureView
outputDepthTextureOverride
private static GpuBuffer
globalSettingsUniform
private static DynamicUniforms
dynamicUniforms
private static final ScissorState
scissorStateForRenderTypeDraws
private static SamplerCache
samplerCache

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SamplerCache
getSamplerCache()
public static void
initRenderThread()
public static boolean
isOnRenderThread()
public static void
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
private static void
pollEvents()
public static boolean
isFrozenAtPollEvents()
public static void
flipFrame(Window window, TracyFrameCapture tracyFrameCapture)
flipFrame(class_1041 arg0, class_10219 arg1)
flipFrame(Window window, TracyFrameCapturer capturer)
public static void
limitDisplayFPS(int framerateLimit)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
public static void
setShaderFog(GpuBufferSlice fog)
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice shaderFog)
public static GpuBufferSlice
getShaderFog()
public static void
setShaderLights(GpuBufferSlice buffer)
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice shaderLightDirections)
public static GpuBufferSlice
getShaderLights()
public static void
enableScissorForRenderTypeDraws(int x, int y, int width, int height)
public static void
disableScissorForRenderTypeDraws()
public static ScissorState
getScissorStateForRenderTypeDraws()
public static String
getBackendDescription()
public static String
getApiDescription()
public static TimeSupplier$Nanoseconds
initBackendSystem()
public static void
initRenderer(long windowHandle, int logVerbosity, boolean synchronousLogs, ShaderSource shaderSource, boolean wantsDebugLabels)
initRenderer(long arg0, int arg1, boolean arg2, class_12289 arg3, boolean arg4)
initRenderer(long windowHandle, int debugVerbosity, boolean sync, ShaderSourceGetter arg3, boolean renderDebugLabels)
public static void
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI onFullscreenError)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI callback)
public static void
setupDefaultState()
public static void
setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType type)
setProjectionMatrix(GpuBufferSlice arg0, class_10366 arg1)
setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType projectionType)
public static void
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
public static GpuBufferSlice
getProjectionMatrixBuffer()
public static org.joml.Matrix4f
getModelViewMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
public static RenderSystem$ShapeIndexBuffer
getSequentialBuffer(VertexFormat$Mode primitiveMode)
getSequentialBuffer(VertexFormat$class_5596 arg0)
getSequentialBuffer(VertexFormat$DrawMode drawMode)
public static void
setGlobalSettingsUniform(GpuBuffer buffer)
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer globalSettingsUniform)
public static GpuBuffer
getGlobalSettingsUniform()
public static ProjectionType
getProjectionType()
public static void
queueFencedTask(Runnable task)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable task)
public static void
executePendingTasks()
public static GpuDevice
getDevice()
public static GpuDevice
tryGetDevice()
public static DynamicUniforms
getDynamicUniforms()
public static void
bindDefaultUniforms(RenderPass renderPass)
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass pass)
private static void
lambda$static$1(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
lambda$static$1(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
lambda$static$1(it.unimi.dsi.fastutil.ints.IntConsumer indexConsumer, int firstVertexIndex)
private static void
lambda$static$0(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
lambda$static$0(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
lambda$static$0(it.unimi.dsi.fastutil.ints.IntConsumer indexConsumer, int firstVertexIndex)