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 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 final 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()
public static void
pollEvents()
public static boolean
isFrozenAtPollEvents()
public static void
flipFrame(TracyFrameCapture tracyFrameCapture)
flipFrame(class_10219 arg0)
flipFrame(TracyFrameCapturer capturer)
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)
enableScissorForRenderTypeDraws(int arg0, int arg1, int arg2, int arg3)
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(BackendOptions options)
initBackendSystem(class_1_489 arg0)
initBackendSystem(BackendSettings settings)
public static void
initRenderer(GpuDevice device)
initRenderer(GpuDevice arg0)
initRenderer(GpuDevice device)
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)