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 double
DEFAULT_DEPTH_CLEAR_VALUE
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 final AtomicLong
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
private static final ArrayListDeque<RenderSystem$Task>
PENDING_FENCES
public static boolean
isRenderingLevel
private static GpuBuffer
globalSettingsUniform
private static DynamicUniforms
dynamicUniforms
private static final ScissorState
scissorStateForRenderTypeDraws
private static final SamplerCache
samplerCache
private static CompiledRenderPipelineCache
fallbackPipelineCache
private static CompiledRenderPipelineCache
currentPipelineCache

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SamplerCache
getSamplerCache()
public static void
setFallbackPipelineCache(PipelineCache pipelineCache)
setFallbackPipelineCache(class_1_1152 arg0)
setFallbackPipelineCache(CompiledRenderPipelineCache fallbackPipelineCache)
public static CompiledRenderPipelineCache
setCurrentPipelineCache(PipelineCache pipelineCache)
setCurrentPipelineCache(class_1_1152 arg0)
setCurrentPipelineCache(CompiledRenderPipelineCache currentPipelineCache)
public static CompiledPipeline
getCompiledPipelineNullable(RenderPipeline pipeline)
getCompiledPipelineNullable(class_1_1257 arg0)
getCompiledPipelineNullable(RenderPipeline pipeline)
public static CompiledPipeline
getCompiledPipeline(RenderPipeline pipeline)
getCompiledPipeline(class_1_1257 arg0)
getCompiledPipeline(RenderPipeline pipeline)
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
setShaderFog(GpuBufferSlice fog)
setShaderFog(class_1_1254 arg0)
setShaderFog(GpuBufferSlice shaderFog)
public static GpuBufferSlice
getShaderFog()
public static void
setShaderLights(GpuBufferSlice buffer)
setShaderLights(class_1_1254 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 TimeSupplier$Nanoseconds
initBackendSystem()
initBackendSystem()
initBackendSystem()
public static void
initRenderer(GpuDevice device)
initRenderer(class_1_1209 arg0)
initRenderer(GpuDevice device)
public static void
shutdownRenderer()
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(class_1_1254 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
getModelViewMatrixCopy()
public static org.joml.Matrix4fStack
getModelViewStack()
public static RenderSystem$ShapeIndexBuffer
getSequentialBuffer(PrimitiveTopology primitiveTopology)
getSequentialBuffer(class_5596 arg0)
getSequentialBuffer(DrawMode drawMode)
public static void
setGlobalSettingsUniform(GpuBuffer buffer)
setGlobalSettingsUniform(class_1_1211 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(class_1_1227 arg0)
bindDefaultUniforms(RenderPass pass)
public static void
resizeAllAutoStorageIndexBuffers()
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)