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
com.mojang.blaze3d.systems.RenderSystem

Field summary

Modifier and TypeField
public static final ScissorState
SCISSOR_STATE
SCISSOR_STATE
SCISSOR_STATE
static final org.slf4j.Logger
LOGGER
LOGGER
LOGGER
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
private static Thread
renderThread
renderThread
renderThread
private static GpuDevice
DEVICE
DEVICE
DEVICE
private static double
lastDrawTime
lastDrawTime
lastDrawTime
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequential
sharedSequential
sharedSequential
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequentialQuad
sharedSequentialQuad
sharedSequentialQuad
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequentialLines
sharedSequentialLines
sharedSequentialLines
private static org.joml.Matrix4f
projectionMatrix
projectionMatrix
projectionMatrix
private static org.joml.Matrix4f
savedProjectionMatrix
savedProjectionMatrix
savedProjectionMatrix
private static ProjectionType
projectionType
projectionType
projectionType
private static ProjectionType
savedProjectionType
savedProjectionType
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
modelViewStack
modelViewStack
private static org.joml.Matrix4f
textureMatrix
textureMatrix
textureMatrix
public static final int
TEXTURE_COUNT
TEXTURE_COUNT
TEXTURE_COUNT
private static final GpuTexture[]
shaderTextures
shaderTextures
shaderTextures
private static final float[]
shaderColor
shaderColor
shaderColor
private static float
shaderGlintAlpha
shaderGlintAlpha
shaderGlintAlpha
private static FogParameters
shaderFog
shaderFog
shaderFog
private static final org.joml.Vector3f[]
shaderLightDirections
shaderLightDirections
shaderLightDirections
private static float
shaderGameTime
shaderGameTime
shaderGameTime
private static final org.joml.Vector3f
modelOffset
modelOffset
modelOffset
private static float
shaderLineWidth
shaderLineWidth
shaderLineWidth
private static String
apiDescription
apiDescription
apiDescription
private static final AtomicLong
pollEventsWaitStart
pollEventsWaitStart
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
pollingEvents
pollingEvents
private static GpuBuffer
QUAD_VERTEX_BUFFER
QUAD_VERTEX_BUFFER
QUAD_VERTEX_BUFFER
private static final ArrayListDeque<RenderSystem$GpuAsyncTask>
PENDING_FENCES
PENDING_FENCES
PENDING_FENCES

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
initRenderThread()
initRenderThread()
initRenderThread()
public static boolean
isOnRenderThread()
isOnRenderThread()
isOnRenderThread()
public static void
assertOnRenderThread()
assertOnRenderThread()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
constructThreadException()
constructThreadException()
private static void
pollEvents()
pollEvents()
pollEvents()
public static boolean
isFrozenAtPollEvents()
isFrozenAtPollEvents()
isFrozenAtPollEvents()
public static void
flipFrame(long arg0, fii arg1)
flipFrame(long arg0, TracyFrameCapture arg1)
flipFrame(long arg0, class_10219 arg1)
flipFrame(long window, TracyFrameCapturer capturer)
flipFrame(long p_69496_, C_346145_ arg1)
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
limitDisplayFPS(int p_69831_)
public static void
enableScissor(int arg0, int arg1, int arg2, int arg3)
enableScissor(int arg0, int arg1, int arg2, int arg3)
enableScissor(int arg0, int arg1, int arg2, int arg3)
enableScissor(int x, int y, int width, int height)
enableScissor(int p_69489_, int p_69490_, int p_69491_, int p_69492_)
public static void
disableScissor()
disableScissor()
disableScissor()
public static void
setShaderFog(grb arg0)
setShaderFog(FogParameters arg0)
setShaderFog(class_9958 arg0)
setShaderFog(Fog shaderFog)
setShaderFog(C_346156_ p_366203_)
public static FogParameters
getShaderFog()
getShaderFog()
getShaderFog()
public static void
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double shaderGlintAlpha)
setShaderGlintAlpha(double p_268332_)
public static void
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float shaderGlintAlpha)
setShaderGlintAlpha(float p_268329_)
public static float
getShaderGlintAlpha()
getShaderGlintAlpha()
getShaderGlintAlpha()
public static void
setShaderLights(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setShaderLights(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setShaderLights(org.joml.Vector3f p_254155_, org.joml.Vector3f p_254006_)
public static org.joml.Vector3f[]
getShaderLights()
getShaderLights()
getShaderLights()
public static void
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float red, float green, float blue, float alpha)
setShaderColor(float p_157430_, float p_157431_, float p_157432_, float p_157433_)
public static float[]
getShaderColor()
getShaderColor()
getShaderColor()
public static void
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float width)
lineWidth(float p_69833_)
public static float
getShaderLineWidth()
getShaderLineWidth()
getShaderLineWidth()
public static String
getBackendDescription()
getBackendDescription()
getBackendDescription()
public static String
getApiDescription()
getApiDescription()
getApiDescription()
public static TimeSource$NanoTimeSource
initBackendSystem()
initBackendSystem()
initBackendSystem()
public static void
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<alr, ShaderType, String> arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<ResourceLocation, ShaderType, String> arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<class_2960, ShaderType, String> arg3, boolean arg4)
initRenderer(long windowHandle, int debugVerbosity, boolean sync, BiFunction<Identifier, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels)
initRenderer(long p_392173_, int p_69582_, boolean p_393765_, BiFunction<C_5265_, ShaderType, String> p_394006_, boolean arg4)
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)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI p_69901_)
public static void
setupDefaultState()
setupDefaultState()
setupDefaultState()
public static void
setupOverlayColor(GpuTexture arg0)
setupOverlayColor(GpuTexture arg0)
setupOverlayColor(GpuTexture arg0)
setupOverlayColor(GpuTexture texture)
setupOverlayColor(GpuTexture p_394661_)
public static void
teardownOverlayColor()
teardownOverlayColor()
teardownOverlayColor()
public static void
setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupLevelDiffuseLighting(org.joml.Vector3f p_254489_, org.joml.Vector3f p_254541_)
public static void
setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGuiFlatDiffuseLighting(org.joml.Vector3f p_254419_, org.joml.Vector3f p_254483_)
public static void
setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGui3DDiffuseLighting(org.joml.Vector3f p_253859_, org.joml.Vector3f p_253890_)
public static void
setShaderTexture(int arg0, GpuTexture arg1)
setShaderTexture(int arg0, GpuTexture arg1)
setShaderTexture(int arg0, GpuTexture arg1)
setShaderTexture(int index, GpuTexture texture)
setShaderTexture(int p_157457_, GpuTexture p_391574_)
public static GpuTexture
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int index)
getShaderTexture(int p_157204_)
public static void
setProjectionMatrix(org.joml.Matrix4f arg0, fig arg1)
setProjectionMatrix(org.joml.Matrix4f arg0, ProjectionType arg1)
setProjectionMatrix(org.joml.Matrix4f arg0, class_10366 arg1)
setProjectionMatrix(org.joml.Matrix4f projectionMatrix, ProjectionType projectionType)
setProjectionMatrix(org.joml.Matrix4f p_277884_, C_345792_ p_362578_)
public static void
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f textureMatrix)
setTextureMatrix(org.joml.Matrix4f p_254081_)
public static void
resetTextureMatrix()
resetTextureMatrix()
resetTextureMatrix()
public static void
backupProjectionMatrix()
backupProjectionMatrix()
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
restoreProjectionMatrix()
restoreProjectionMatrix()
public static org.joml.Matrix4f
getProjectionMatrix()
getProjectionMatrix()
getProjectionMatrix()
public static org.joml.Matrix4f
getModelViewMatrix()
getModelViewMatrix()
getModelViewMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
getModelViewStack()
getModelViewStack()
public static org.joml.Matrix4f
getTextureMatrix()
getTextureMatrix()
getTextureMatrix()
public static RenderSystem$AutoStorageIndexBuffer
getSequentialBuffer(VertexFormat$b arg0)
getSequentialBuffer(VertexFormat$Mode arg0)
getSequentialBuffer(VertexFormat$class_5596 arg0)
getSequentialBuffer(VertexFormat$DrawMode drawMode)
getSequentialBuffer(VertexFormat$C_141549_ p_221942_)
public static void
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long time, float tickProgress)
setShaderGameTime(long p_157448_, float arg1)
public static float
getShaderGameTime()
getShaderGameTime()
getShaderGameTime()
public static ProjectionType
getProjectionType()
getProjectionType()
getProjectionType()
public static GpuBuffer
getQuadVertexBuffer()
getQuadVertexBuffer()
getQuadVertexBuffer()
public static void
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float offsetX, float offsetY, float offsetZ)
setModelOffset(float p_395251_, float p_397531_, float p_396894_)
public static void
resetModelOffset()
resetModelOffset()
resetModelOffset()
public static org.joml.Vector3f
getModelOffset()
getModelOffset()
getModelOffset()
public static void
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable task)
queueFencedTask(Runnable p_396027_)
public static void
executePendingTasks()
executePendingTasks()
executePendingTasks()
public static GpuDevice
getDevice()
getDevice()
getDevice()
public static GpuDevice
tryGetDevice()
tryGetDevice()
tryGetDevice()