com.mojang.blaze3d.systems

public class RenderSystem

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SamplerCache
getSamplerCache()
getSamplerCache()
public static void
initRenderThread()
initRenderThread()
public static boolean
isOnRenderThread()
isOnRenderThread()
public static void
assertOnRenderThread()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
constructThreadException()
private static void
pollEvents()
pollEvents()
public static boolean
isFrozenAtPollEvents()
isFrozenAtPollEvents()
public static void
flipFrame(fxc arg0, fux arg1)
flipFrame(Window arg0, TracyFrameCapture arg1)
flipFrame(class_1041 arg0, class_10219 arg1)
flipFrame(Window window, TracyFrameCapturer capturer)
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
public static void
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice shaderFog)
public static GpuBufferSlice
getShaderFog()
getShaderFog()
public static void
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice shaderLightDirections)
public static GpuBufferSlice
getShaderLights()
getShaderLights()
public static void
enableScissorForRenderTypeDraws(int arg0, int arg1, int arg2, int arg3)
enableScissorForRenderTypeDraws(int arg0, int arg1, int arg2, int arg3)
public static void
disableScissorForRenderTypeDraws()
disableScissorForRenderTypeDraws()
public static ScissorState
getScissorStateForRenderTypeDraws()
getScissorStateForRenderTypeDraws()
public static String
getBackendDescription()
getBackendDescription()
public static String
getApiDescription()
getApiDescription()
public static TimeSource$NanoTimeSource
initBackendSystem()
initBackendSystem()
public static void
initRenderer(long arg0, int arg1, boolean arg2, fxq arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, ShaderSource arg3, boolean arg4)
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 arg0)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI callback)
public static void
setupDefaultState()
setupDefaultState()
public static void
setProjectionMatrix(GpuBufferSlice arg0, fuv arg1)
setProjectionMatrix(GpuBufferSlice arg0, ProjectionType arg1)
setProjectionMatrix(GpuBufferSlice arg0, class_10366 arg1)
setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType projectionType)
public static void
backupProjectionMatrix()
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
restoreProjectionMatrix()
public static GpuBufferSlice
getProjectionMatrixBuffer()
getProjectionMatrixBuffer()
public static org.joml.Matrix4f
getModelViewMatrix()
getModelViewMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
getModelViewStack()
public static RenderSystem$AutoStorageIndexBuffer
getSequentialBuffer(VertexFormat$b arg0)
getSequentialBuffer(VertexFormat$Mode arg0)
getSequentialBuffer(VertexFormat$class_5596 arg0)
getSequentialBuffer(VertexFormat$DrawMode drawMode)
public static void
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer globalSettingsUniform)
public static GpuBuffer
getGlobalSettingsUniform()
getGlobalSettingsUniform()
public static ProjectionType
getProjectionType()
getProjectionType()
public static void
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable task)
public static void
executePendingTasks()
executePendingTasks()
public static GpuDevice
getDevice()
getDevice()
public static GpuDevice
tryGetDevice()
tryGetDevice()
public static DynamicUniforms
getDynamicUniforms()
getDynamicUniforms()
public static void
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass pass)