com.mojang.blaze3d.systems

public class RenderSystem

com.mojang.blaze3d.systems.RenderSystem
net.minecraft.class_1_1307
com.mojang.blaze3d.systems.RenderSystem

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_8806
LOGGER
public static final double
DEFAULT_DEPTH_CLEAR_VALUE
field_1_8804
field_1_8804
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
field_1_8807
field_1_8807
public static final int
PROJECTION_MATRIX_UBO_SIZE
field_1_8809
MAT4F_SIZE
private static Thread
renderThread
field_1_8820
renderThread
private static GpuDevice
DEVICE
field_1_8805
device
private static WindowBackend
BACKEND
field_1_8803
window
private static final RenderSystem$ShapeIndexBuffer
sharedSequential
field_1_8827
DEFAULT_SHAPE_INDEX_BUFFER
private static final RenderSystem$ShapeIndexBuffer
sharedSequentialQuad
field_1_8829
QUADS_SHAPE_INDEX_BUFFER
private static final RenderSystem$ShapeIndexBuffer
sharedSequentialLines
field_1_8828
LINES_SHAPE_INDEX_BUFFER
private static ProjectionType
projectionType
field_1_8819
projectionType
private static ProjectionType
savedProjectionType
field_1_8823
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
field_1_8815
MATRIX_STACK
private static GpuBufferSlice
shaderFog
field_1_8825
fogBuffer
private static GpuBufferSlice
shaderLightDirections
field_1_8826
lightingBuffer
private static GpuBufferSlice
projectionMatrixBuffer
field_1_8818
projectionBuffer
private static GpuBufferSlice
savedProjectionMatrixBuffer
field_1_8822
savedProjectionBuffer
private static final AtomicLong
pollEventsWaitStart
field_1_8816
INPUT_HANDLING_STARTED_AT
private static final AtomicBoolean
pollingEvents
field_1_8817
HANDLING_INPUT
private static final ArrayListDeque<RenderSystem$Task>
PENDING_FENCES
field_1_8808
TASKS
public static boolean
isRenderingLevel
field_1_8814
renderingWorld
private static GpuBuffer
globalSettingsUniform
field_1_8813
globalsBuffer
private static DynamicUniforms
dynamicGpuData
field_1_8811
dynamicUniforms
private static final ScissorState
scissorStateForRenderTypeDraws
field_1_8824
SCISSOR_STATE
private static final SamplerCache
samplerCache
field_1_8821
SAMPLER_CACHE
private static CompiledRenderPipelineCache
fallbackPipelineCache
field_1_8812
fallbackPipelineCache
private static CompiledRenderPipelineCache
currentPipelineCache
field_1_8810
currentPipelineCache

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SamplerCache
getSamplerCache()
method_1_8510()
getSamplerCache()
public static void
setFallbackPipelineCache(PipelineCache pipelineCache)
method_1_8528(class_1_1152 arg0)
setFallbackPipelineCache(CompiledRenderPipelineCache fallbackPipelineCache)
public static CompiledRenderPipelineCache
setCurrentPipelineCache(PipelineCache pipelineCache)
method_1_8527(class_1_1152 arg0)
setCurrentPipelineCache(CompiledRenderPipelineCache currentPipelineCache)
public static CompiledRenderPipeline
getCompiledPipelineNullable(RenderPipeline pipeline)
method_1_8502(class_1_1257 arg0)
compilePipelineOrNull(RenderPipeline pipeline)
public static CompiledRenderPipeline
getCompiledPipeline(RenderPipeline pipeline)
method_1_8501(class_1_1257 arg0)
compilePipeline(RenderPipeline pipeline)
public static void
initRenderThread()
method_1_8516()
initializeRenderThread()
public static boolean
isOnRenderThread()
method_1_8519()
isOnRenderThread()
public static void
assertOnRenderThread()
method_1_8493()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
method_1_8496()
wrongThreadException()
public static void
pollEvents(SDLEventHandler eventHandler)
method_1_8522(class_1_1312 arg0)
pollEvents(WindowEventListener windowEventListener)
public static boolean
isFrozenAtPollEvents()
method_1_8518()
isWaitingTooLongForInput()
public static void
pumpEvents(SDLEventHandler eventHandler)
method_1_8523(class_1_1312 arg0)
flushEvents(WindowEventListener windowEventListener)
public static void
setShaderFog(GpuBufferSlice fog)
method_1_8531(class_1_1254 arg0)
setFogBuffer(GpuBufferSlice shaderFog)
public static GpuBufferSlice
getShaderFog()
method_1_8513()
getFogBuffer()
public static void
setShaderLights(GpuBufferSlice buffer)
method_1_8532(class_1_1254 arg0)
setLightingBuffer(GpuBufferSlice shaderLightDirections)
public static GpuBufferSlice
getShaderLights()
method_1_8514()
getLightingBuffer()
public static void
enableScissorForRenderTypeDraws(int x, int y, int width, int height)
method_1_8498(int arg0, int arg1, int arg2, int arg3)
enableScissor(int x, int y, int width, int height)
public static void
disableScissorForRenderTypeDraws()
method_1_8497()
disableScissor()
public static ScissorState
getScissorStateForRenderTypeDraws()
method_1_8511()
getScissorState()
public static String
getBackendDescription()
method_1_8500()
getFormattedLwjglVersion()
public static TimeSupplier$Nanoseconds
initBackendSystem()
method_1_8515()
initializeSdl()
public static void
initRenderer(GpuDevice device)
method_1_8517(class_1_1313 arg0)
initializeDevice(GpuDevice device)
public static void
shutdownRenderer()
method_1_8534()
startClosing()
public static void
trackBackendLibraryForShutdown(GpuBackend backend)
method_1_8535(class_1_11 arg0)
setWindow(WindowBackend window)
public static void
unloadTrackedBackendLibrary()
method_1_8537()
unloadWindow()
public static void
setupDefaultState()
method_1_8533()
clearGlobalMatrixStack()
public static void
setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType type)
method_1_8530(class_1_1254 arg0, class_10366 arg1)
setProjection(GpuBufferSlice projectionMatrixBuffer, ProjectionType projectionType)
public static void
backupProjectionMatrix()
method_1_8494()
saveProjection()
public static void
restoreProjectionMatrix()
method_1_8526()
restoreProjection()
public static GpuBufferSlice
getProjectionMatrixBuffer()
method_1_8508()
getProjectionBuffer()
public static org.joml.Matrix4f
getModelViewMatrixCopy()
method_1_8506()
getGlobalMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
method_1_8507()
getGlobalMatrixStack()
public static RenderSystem$ShapeIndexBuffer
getSequentialBuffer(PrimitiveTopology primitiveTopology)
method_1_8512(class_5596 arg0)
getShapeIndexBufferFor(DrawMode drawMode)
public static void
setGlobalSettingsUniform(GpuBuffer buffer)
method_1_8529(class_1_1211 arg0)
setGlobalsBuffer(GpuBuffer globalSettingsUniform)
public static GpuBuffer
getGlobalSettingsUniform()
method_1_8505()
getGlobalsBuffer()
public static ProjectionType
getProjectionType()
method_1_8509()
getProjectionType()
public static void
queueFencedTask(Runnable task)
method_1_8524(Runnable arg0)
scheduleGpuAsyncTask(Runnable task)
public static void
executePendingTasks()
method_1_8499()
runGpuAsyncTasks()
public static GpuDevice
getDevice()
method_1_8503()
getDevice()
public static GpuDevice
tryGetDevice()
method_1_8536()
getDeviceOptional()
public static boolean
isWireframeAvailable()
method_1_9176()
isWireframeSupported()
public static DynamicUniforms
getDynamicUniforms()
method_1_8504()
getDynamicUniforms()
public static void
bindDefaultUniforms(RenderPass renderPass)
method_1_8495(class_1_1317 arg0)
setDefaultUniforms(RenderPass pass)
public static void
resizeAllAutoStorageIndexBuffers()
method_1_8525()
growShapeIndexBuffers()
private static void
lambda$static$1(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
method_1_8521(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
method_1_8521(it.unimi.dsi.fastutil.ints.IntConsumer indexConsumer, int firstVertexIndex)
private static void
lambda$static$0(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
method_1_8520(it.unimi.dsi.fastutil.ints.IntConsumer arg0, int arg1)
method_1_8520(it.unimi.dsi.fastutil.ints.IntConsumer indexConsumer, int firstVertexIndex)