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
private static final ConcurrentLinkedQueue<RenderCall>
recordingQueue
recordingQueue
private static final Tesselator
RENDER_THREAD_TESSELATOR
RENDER_THREAD_TESSELATOR
private static final int
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
private static Thread
renderThread
renderThread
private static int
MAX_SUPPORTED_TEXTURE_SIZE
MAX_SUPPORTED_TEXTURE_SIZE
private static boolean
isInInit
isInInit
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 org.joml.Matrix4f
projectionMatrix
projectionMatrix
private static org.joml.Matrix4f
savedProjectionMatrix
savedProjectionMatrix
private static ProjectionType
projectionType
projectionType
private static ProjectionType
savedProjectionType
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
modelViewStack
private static org.joml.Matrix4f
textureMatrix
textureMatrix
private static final int[]
shaderTextures
shaderTextures
private static final float[]
shaderColor
shaderColor
private static float
shaderGlintAlpha
shaderGlintAlpha
private static FogParameters
shaderFog
shaderFog
private static final org.joml.Vector3f[]
shaderLightDirections
shaderLightDirections
private static float
shaderGameTime
shaderGameTime
private static float
shaderLineWidth
shaderLineWidth
private static String
apiDescription
apiDescription
private static CompiledShaderProgram
shader
shader
private static final AtomicLong
pollEventsWaitStart
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
pollingEvents

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
initRenderThread()
initRenderThread()
public static boolean
isOnRenderThread()
isOnRenderThread()
public static boolean
isOnRenderThreadOrInit()
isOnRenderThreadOrInit()
public static void
assertOnRenderThreadOrInit()
assertOnRenderThreadOrInit()
public static void
assertOnRenderThread()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
constructThreadException()
public static void
recordRenderCall(ffb arg0)
recordRenderCall(RenderCall arg0)
recordRenderCall(class_4573 arg0)
recordRenderCall(RenderCall renderCall)
private static void
pollEvents()
pollEvents()
public static boolean
isFrozenAtPollEvents()
isFrozenAtPollEvents()
public static void
flipFrame(long arg0, fed arg1)
flipFrame(long arg0, TracyFrameCapture arg1)
flipFrame(long arg0, class_10219 arg1)
flipFrame(long window, TracyFrameCapturer capturer)
public static void
replayQueue()
replayQueue()
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
public static void
disableDepthTest()
disableDepthTest()
public static void
enableDepthTest()
enableDepthTest()
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)
public static void
disableScissor()
disableScissor()
public static void
depthFunc(int arg0)
depthFunc(int arg0)
depthFunc(int arg0)
depthFunc(int func)
public static void
depthMask(boolean arg0)
depthMask(boolean arg0)
depthMask(boolean arg0)
depthMask(boolean mask)
public static void
enableBlend()
enableBlend()
public static void
disableBlend()
disableBlend()
public static void
blendFunc(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1)
blendFunc(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1)
blendFunc(GlStateManager$class_4535 arg0, GlStateManager$class_4534 arg1)
blendFunc(GlStateManager$SrcFactor srcFactor, GlStateManager$DstFactor dstFactor)
public static void
blendFunc(int arg0, int arg1)
blendFunc(int arg0, int arg1)
blendFunc(int arg0, int arg1)
blendFunc(int srcFactor, int dstFactor)
public static void
blendFuncSeparate(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1, GlStateManager$SourceFactor arg2, GlStateManager$DestFactor arg3)
blendFuncSeparate(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1, GlStateManager$SourceFactor arg2, GlStateManager$DestFactor arg3)
blendFuncSeparate(GlStateManager$class_4535 arg0, GlStateManager$class_4534 arg1, GlStateManager$class_4535 arg2, GlStateManager$class_4534 arg3)
blendFuncSeparate(GlStateManager$SrcFactor srcFactor, GlStateManager$DstFactor dstFactor, GlStateManager$SrcFactor srcAlpha, GlStateManager$DstFactor dstAlpha)
public static void
blendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
blendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
blendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)
public static void
blendEquation(int arg0)
blendEquation(int arg0)
blendEquation(int arg0)
blendEquation(int mode)
public static void
enableCull()
enableCull()
public static void
disableCull()
disableCull()
public static void
polygonMode(int arg0, int arg1)
polygonMode(int arg0, int arg1)
polygonMode(int arg0, int arg1)
polygonMode(int face, int mode)
public static void
enablePolygonOffset()
enablePolygonOffset()
public static void
disablePolygonOffset()
disablePolygonOffset()
public static void
polygonOffset(float arg0, float arg1)
polygonOffset(float arg0, float arg1)
polygonOffset(float arg0, float arg1)
polygonOffset(float factor, float units)
public static void
enableColorLogicOp()
enableColorLogicOp()
public static void
disableColorLogicOp()
disableColorLogicOp()
public static void
logicOp(GlStateManager$h arg0)
logicOp(GlStateManager$LogicOp arg0)
logicOp(GlStateManager$class_1030 arg0)
logicOp(GlStateManager$LogicOp op)
public static void
activeTexture(int arg0)
activeTexture(int arg0)
activeTexture(int arg0)
activeTexture(int texture)
public static void
texParameter(int arg0, int arg1, int arg2)
texParameter(int arg0, int arg1, int arg2)
texParameter(int arg0, int arg1, int arg2)
texParameter(int target, int pname, int param)
public static void
deleteTexture(int arg0)
deleteTexture(int arg0)
deleteTexture(int arg0)
deleteTexture(int texture)
public static void
bindTextureForSetup(int arg0)
bindTextureForSetup(int arg0)
bindTextureForSetup(int arg0)
bindTextureForSetup(int id)
public static void
bindTexture(int arg0)
bindTexture(int arg0)
bindTexture(int arg0)
bindTexture(int texture)
public static void
viewport(int arg0, int arg1, int arg2, int arg3)
viewport(int arg0, int arg1, int arg2, int arg3)
viewport(int arg0, int arg1, int arg2, int arg3)
viewport(int x, int y, int width, int height)
public static void
colorMask(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
colorMask(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
colorMask(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
colorMask(boolean red, boolean green, boolean blue, boolean alpha)
public static void
stencilFunc(int arg0, int arg1, int arg2)
stencilFunc(int arg0, int arg1, int arg2)
stencilFunc(int arg0, int arg1, int arg2)
stencilFunc(int func, int ref, int mask)
public static void
stencilMask(int arg0)
stencilMask(int arg0)
stencilMask(int arg0)
stencilMask(int mask)
public static void
stencilOp(int arg0, int arg1, int arg2)
stencilOp(int arg0, int arg1, int arg2)
stencilOp(int arg0, int arg1, int arg2)
stencilOp(int sfail, int dpfail, int dppass)
public static void
clearDepth(double arg0)
clearDepth(double arg0)
clearDepth(double arg0)
clearDepth(double depth)
public static void
clearColor(float arg0, float arg1, float arg2, float arg3)
clearColor(float arg0, float arg1, float arg2, float arg3)
clearColor(float arg0, float arg1, float arg2, float arg3)
clearColor(float red, float green, float blue, float alpha)
public static void
clearStencil(int arg0)
clearStencil(int arg0)
clearStencil(int arg0)
clearStencil(int stencil)
public static void
clear(int arg0)
clear(int arg0)
clear(int arg0)
clear(int mask)
public static void
setShaderFog(gkz arg0)
setShaderFog(FogParameters arg0)
public static FogParameters
getShaderFog()
getShaderFog()
public static void
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double arg0)
public static void
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float arg0)
public static float
getShaderGlintAlpha()
getShaderGlintAlpha()
public static void
setShaderLights(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setShaderLights(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
public static void
setupShaderLights(gku arg0)
setupShaderLights(CompiledShaderProgram arg0)
setupShaderLights(class_5944 arg0)
setupShaderLights(ShaderProgram shader)
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)
public static float[]
getShaderColor()
getShaderColor()
public static void
drawElements(int arg0, int arg1, int arg2)
drawElements(int arg0, int arg1, int arg2)
drawElements(int arg0, int arg1, int arg2)
drawElements(int mode, int count, int type)
public static void
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float width)
public static float
getShaderLineWidth()
getShaderLineWidth()
public static void
pixelStore(int arg0, int arg1)
pixelStore(int arg0, int arg1)
pixelStore(int arg0, int arg1)
pixelStore(int pname, int param)
public static void
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, ByteBuffer arg6)
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, ByteBuffer arg6)
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, ByteBuffer arg6)
readPixels(int x, int y, int width, int height, int format, int type, ByteBuffer pixels)
public static void
getString(int arg0, Consumer<String> arg1)
getString(int arg0, Consumer<String> arg1)
getString(int arg0, Consumer<String> arg1)
getString(int name, Consumer<String> consumer)
public static String
getBackendDescription()
getBackendDescription()
public static String
getApiDescription()
getApiDescription()
public static TimeSource$NanoTimeSource
initBackendSystem()
initBackendSystem()
public static void
initRenderer(int arg0, boolean arg1)
initRenderer(int arg0, boolean arg1)
initRenderer(int arg0, boolean arg1)
initRenderer(int debugVerbosity, boolean debugSync)
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
renderCrosshair(int arg0)
renderCrosshair(int arg0)
renderCrosshair(int arg0)
renderCrosshair(int size)
public static String
getCapsString()
getCapsString()
public static void
setupDefaultState(int arg0, int arg1, int arg2, int arg3)
setupDefaultState(int arg0, int arg1, int arg2, int arg3)
setupDefaultState(int arg0, int arg1, int arg2, int arg3)
setupDefaultState(int x, int y, int width, int height)
public static int
maxSupportedTextureSize()
maxSupportedTextureSize()
public static void
glBindBuffer(int arg0, int arg1)
glBindBuffer(int arg0, int arg1)
glBindBuffer(int arg0, int arg1)
glBindBuffer(int target, int buffer)
public static void
glBindVertexArray(int arg0)
glBindVertexArray(int arg0)
glBindVertexArray(int arg0)
glBindVertexArray(int array)
public static void
glBufferData(int arg0, ByteBuffer arg1, int arg2)
glBufferData(int arg0, ByteBuffer arg1, int arg2)
glBufferData(int arg0, ByteBuffer arg1, int arg2)
glBufferData(int target, ByteBuffer data, int usage)
public static void
glDeleteBuffers(int arg0)
glDeleteBuffers(int arg0)
glDeleteBuffers(int arg0)
glDeleteBuffers(int buffer)
public static void
glDeleteVertexArrays(int arg0)
glDeleteVertexArrays(int arg0)
glDeleteVertexArrays(int arg0)
glDeleteVertexArrays(int array)
public static void
glUniform1i(int arg0, int arg1)
glUniform1i(int arg0, int arg1)
glUniform1i(int arg0, int arg1)
glUniform1i(int location, int value)
public static void
glUniform1(int arg0, IntBuffer arg1)
glUniform1(int arg0, IntBuffer arg1)
glUniform1(int arg0, IntBuffer arg1)
glUniform1(int location, IntBuffer value)
public static void
glUniform2(int arg0, IntBuffer arg1)
glUniform2(int arg0, IntBuffer arg1)
glUniform2(int arg0, IntBuffer arg1)
glUniform2(int location, IntBuffer value)
public static void
glUniform3(int arg0, IntBuffer arg1)
glUniform3(int arg0, IntBuffer arg1)
glUniform3(int arg0, IntBuffer arg1)
glUniform3(int location, IntBuffer value)
public static void
glUniform4(int arg0, IntBuffer arg1)
glUniform4(int arg0, IntBuffer arg1)
glUniform4(int arg0, IntBuffer arg1)
glUniform4(int location, IntBuffer value)
public static void
glUniform1(int arg0, FloatBuffer arg1)
glUniform1(int arg0, FloatBuffer arg1)
glUniform1(int arg0, FloatBuffer arg1)
glUniform1(int location, FloatBuffer value)
public static void
glUniform2(int arg0, FloatBuffer arg1)
glUniform2(int arg0, FloatBuffer arg1)
glUniform2(int arg0, FloatBuffer arg1)
glUniform2(int location, FloatBuffer value)
public static void
glUniform3(int arg0, FloatBuffer arg1)
glUniform3(int arg0, FloatBuffer arg1)
glUniform3(int arg0, FloatBuffer arg1)
glUniform3(int location, FloatBuffer value)
public static void
glUniform4(int arg0, FloatBuffer arg1)
glUniform4(int arg0, FloatBuffer arg1)
glUniform4(int arg0, FloatBuffer arg1)
glUniform4(int location, FloatBuffer value)
public static void
glUniformMatrix2(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix2(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix2(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix2(int location, boolean transpose, FloatBuffer value)
public static void
glUniformMatrix3(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix3(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix3(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix3(int location, boolean transpose, FloatBuffer value)
public static void
glUniformMatrix4(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix4(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix4(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix4(int location, boolean transpose, FloatBuffer value)
public static void
setupOverlayColor(int arg0, int arg1)
setupOverlayColor(int arg0, int arg1)
setupOverlayColor(int arg0, int arg1)
setupOverlayColor(int texture, int size)
public static void
teardownOverlayColor()
teardownOverlayColor()
public static void
setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
public static void
setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
public static void
setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1)
public static void
beginInitialization()
beginInitialization()
public static void
finishInitialization()
finishInitialization()
public static Tesselator
renderThreadTesselator()
renderThreadTesselator()
public static void
defaultBlendFunc()
defaultBlendFunc()
public static void
overlayBlendFunc()
overlayBlendFunc()
public static CompiledShaderProgram
setShader(gmd arg0)
setShader(ShaderProgram arg0)
public static void
setShader(gku arg0)
setShader(CompiledShaderProgram arg0)
setShader(class_5944 arg0)
setShader(ShaderProgram arg0)
public static void
clearShader()
clearShader()
public static CompiledShaderProgram
getShader()
getShader()
public static void
setShaderTexture(int arg0, alz arg1)
setShaderTexture(int arg0, ResourceLocation arg1)
setShaderTexture(int arg0, class_2960 arg1)
setShaderTexture(int texture, Identifier id)
public static void
setShaderTexture(int arg0, int arg1)
setShaderTexture(int arg0, int arg1)
setShaderTexture(int arg0, int arg1)
setShaderTexture(int texture, int glId)
public static int
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int texture)
public static void
setProjectionMatrix(org.joml.Matrix4f arg0, feb arg1)
setProjectionMatrix(org.joml.Matrix4f arg0, ProjectionType arg1)
setProjectionMatrix(org.joml.Matrix4f arg0, class_10366 arg1)
setProjectionMatrix(org.joml.Matrix4f projectionMatrix, ProjectionType projectionType)
public static void
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f textureMatrix)
public static void
resetTextureMatrix()
resetTextureMatrix()
public static void
backupProjectionMatrix()
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
restoreProjectionMatrix()
public static org.joml.Matrix4f
getProjectionMatrix()
getProjectionMatrix()
public static org.joml.Matrix4f
getModelViewMatrix()
getModelViewMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
getModelViewStack()
public static org.joml.Matrix4f
getTextureMatrix()
getTextureMatrix()
public static RenderSystem$AutoStorageIndexBuffer
getSequentialBuffer(fgx$c arg0)
getSequentialBuffer(VertexFormat$Mode arg0)
getSequentialBuffer(class_293$class_5596 arg0)
getSequentialBuffer(VertexFormat$DrawMode drawMode)
public static void
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long arg0, float arg1)
setShaderGameTime(long time, float tickDelta)
public static float
getShaderGameTime()
getShaderGameTime()
public static ProjectionType
getProjectionType()
getProjectionType()