Package com.mojang.blaze3d.systems
Class RenderSystem
java.lang.Object
com.mojang.blaze3d.systems.RenderSystem
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/RenderSystem
intermediary com/mojang/blaze3d/systems/RenderSystem
official com/mojang/blaze3d/systems/RenderSystem
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
An index buffer that holds a pre-made indices for a specific shape. -
Field Summary
Modifier and TypeFieldDescriptionprivate static String
private static boolean
private static double
(package private) static final Logger
private static int
private static final int
private static Matrix4f
private static final Matrix4fStack
private static final AtomicLong
private static final AtomicBoolean
private static Matrix4f
private static final ConcurrentLinkedQueue
<RenderCall> private static final Tessellator
private static Matrix4f
private static VertexSorter
private static @Nullable ShaderProgram
private static final float[]
private static final float[]
private static float
private static FogShape
private static float
private static float
private static float
private static final Vector3f[]
private static float
private static final int[]
private static final RenderSystem.ShapeIndexBuffer
private static final RenderSystem.ShapeIndexBuffer
private static final RenderSystem.ShapeIndexBuffer
private static Matrix4f
private static VertexSorter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private static void
private static void
_setShaderColor
(float red, float green, float blue, float alpha) static void
_setShaderTexture
(int texture, int glId) static void
_setShaderTexture
(int texture, Identifier id) static void
activeTexture
(int texture) static void
static void
static void
static void
static void
static void
bindTexture
(int texture) static void
bindTextureForSetup
(int id) static void
blendEquation
(int mode) static void
blendFunc
(int srcFactor, int dstFactor) static void
blendFunc
(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor) static void
blendFuncSeparate
(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha) static void
blendFuncSeparate
(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcAlpha, GlStateManager.DstFactor dstAlpha) static void
clear
(int mask, boolean getError) static void
clearColor
(float red, float green, float blue, float alpha) static void
clearDepth
(double depth) static void
clearStencil
(int stencil) static void
colorMask
(boolean red, boolean green, boolean blue, boolean alpha) private static IllegalStateException
static void
static void
deleteTexture
(int texture) static void
depthFunc
(int func) static void
depthMask
(boolean mask) static void
static void
static void
static void
static void
static void
static void
drawElements
(int mode, int count, int type) static void
static void
static void
static void
static void
static void
enableScissor
(int x, int y, int width, int height) static void
static void
flipFrame
(long window) static String
static String
static String
static Matrix4f
static Matrix4fStack
static Matrix4f
getSequentialBuffer
(VertexFormat.DrawMode drawMode) static @Nullable ShaderProgram
static float[]
static float[]
static float
static FogShape
static float
static float
static float
static float
static int
getShaderTexture
(int texture) static void
static Matrix4f
static VertexSorter
static void
glBindBuffer
(int target, int buffer) static void
glBindVertexArray
(int array) static void
glBufferData
(int target, ByteBuffer data, int usage) static void
glDeleteBuffers
(int buffer) static void
glDeleteVertexArrays
(int array) static void
glGenBuffers
(Consumer<Integer> consumer) static void
glGenVertexArrays
(Consumer<Integer> consumer) static void
glUniform1
(int location, FloatBuffer value) static void
glUniform1
(int location, IntBuffer value) static void
glUniform1i
(int location, int value) static void
glUniform2
(int location, FloatBuffer value) static void
glUniform2
(int location, IntBuffer value) static void
glUniform3
(int location, FloatBuffer value) static void
glUniform3
(int location, IntBuffer value) static void
glUniform4
(int location, FloatBuffer value) static void
glUniform4
(int location, IntBuffer value) static void
glUniformMatrix2
(int location, boolean transpose, FloatBuffer value) static void
glUniformMatrix3
(int location, boolean transpose, FloatBuffer value) static void
glUniformMatrix4
(int location, boolean transpose, FloatBuffer value) static TimeSupplier.Nanoseconds
static void
initRenderer
(int debugVerbosity, boolean debugSync) static void
static boolean
static boolean
static boolean
static void
limitDisplayFPS
(int fps) static void
lineWidth
(float width) static void
static int
static void
pixelStore
(int pname, int param) private static void
static void
polygonMode
(int face, int mode) static void
polygonOffset
(float factor, float units) static void
readPixels
(int x, int y, int width, int height, int format, int type, ByteBuffer pixels) static void
recordRenderCall
(RenderCall renderCall) static void
renderCrosshair
(int size) static Tessellator
static void
static void
static void
static void
runAsFancy
(Runnable runnable) Deprecated.static void
setErrorCallback
(GLFWErrorCallbackI callback) static void
setProjectionMatrix
(Matrix4f projectionMatrix, VertexSorter vertexSorting) static void
setShader
(Supplier<ShaderProgram> program) Sets theRenderSystem
's global shader program.static void
setShaderColor
(float red, float green, float blue, float alpha) static void
setShaderFogColor
(float red, float green, float blue) static void
setShaderFogColor
(float red, float green, float blue, float alpha) static void
setShaderFogEnd
(float shaderFogEnd) static void
setShaderFogShape
(FogShape shaderFogShape) static void
setShaderFogStart
(float shaderFogStart) static void
setShaderGameTime
(long time, float tickDelta) static void
setShaderGlintAlpha
(double double2) static void
setShaderGlintAlpha
(float float2) static void
setShaderLights
(Vector3f vector3f, Vector3f vector3f2) static void
setShaderTexture
(int texture, int glId) static void
setShaderTexture
(int texture, Identifier id) static void
setTextureMatrix
(Matrix4f textureMatrix) static void
setupDefaultState
(int x, int y, int width, int height) static void
setupGui3DDiffuseLighting
(Vector3f vector3f, Vector3f vector3f2) static void
setupGuiFlatDiffuseLighting
(Vector3f vector3f, Vector3f vector3f2) static void
setupLevelDiffuseLighting
(Vector3f vector3f, Vector3f vector3f2) static void
setupOverlayColor
(int texture, int size) static void
setupShaderLights
(ShaderProgram shader) static void
stencilFunc
(int func, int ref, int mask) static void
stencilMask
(int mask) static void
stencilOp
(int sfail, int dpfail, int dppass) static void
static void
texParameter
(int target, int pname, int param) static void
viewport
(int x, int y, int width, int height)
-
Field Details
-
LOGGER
-
recordingQueue
-
RENDER_THREAD_TESSELATOR
-
MINIMUM_ATLAS_TEXTURE_SIZE
private static final int MINIMUM_ATLAS_TEXTURE_SIZE- See Also:
-
renderThread
-
MAX_SUPPORTED_TEXTURE_SIZE
private static int MAX_SUPPORTED_TEXTURE_SIZE -
isInInit
private static boolean isInInit -
lastDrawTime
private static double lastDrawTime -
projectionMatrix
-
savedProjectionMatrix
-
vertexSorting
-
savedVertexSorting
-
modelViewStack
-
modelViewMatrix
-
textureMatrix
-
shaderTextures
private static final int[] shaderTextures -
shaderColor
private static final float[] shaderColor -
shaderGlintAlpha
private static float shaderGlintAlpha -
shaderFogStart
private static float shaderFogStart -
shaderFogEnd
private static float shaderFogEnd -
shaderFogColor
private static final float[] shaderFogColor -
shaderFogShape
-
shaderLightDirections
-
shaderGameTime
private static float shaderGameTime -
shaderLineWidth
private static float shaderLineWidth -
apiDescription
-
shader
-
pollEventsWaitStart
-
pollingEvents
-
-
Constructor Details
-
RenderSystem
public RenderSystem()
-
-
Method Details
-
initRenderThread
public static void initRenderThread() -
isOnRenderThread
public static boolean isOnRenderThread() -
isOnRenderThreadOrInit
public static boolean isOnRenderThreadOrInit() -
assertOnRenderThreadOrInit
public static void assertOnRenderThreadOrInit() -
assertOnRenderThread
public static void assertOnRenderThread() -
constructThreadException
-
recordRenderCall
- Mappings:
Namespace Name Mixin selector named recordRenderCall
Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lcom/mojang/blaze3d/systems/RenderCall;)V
intermediary recordRenderCall
Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lnet/minecraft/class_4573;)V
official recordRenderCall
Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lezn;)V
-
pollEvents
private static void pollEvents() -
isFrozenAtPollEvents
public static boolean isFrozenAtPollEvents() -
flipFrame
public static void flipFrame(long window) - Mappings:
Namespace Name Mixin selector named flipFrame
Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
intermediary flipFrame
Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
official flipFrame
Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
-
replayQueue
public static void replayQueue() -
limitDisplayFPS
public static void limitDisplayFPS(int fps) - Mappings:
Namespace Name Mixin selector named limitDisplayFPS
Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
intermediary limitDisplayFPS
Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
official limitDisplayFPS
Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
-
disableDepthTest
public static void disableDepthTest() -
enableDepthTest
public static void enableDepthTest() -
enableScissor
public static void enableScissor(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named enableScissor
Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
intermediary enableScissor
Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
official enableScissor
Lcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
-
disableScissor
public static void disableScissor() -
depthFunc
public static void depthFunc(int func) - Mappings:
Namespace Name Mixin selector named depthFunc
Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
intermediary depthFunc
Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
official depthFunc
Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
-
depthMask
public static void depthMask(boolean mask) - Mappings:
Namespace Name Mixin selector named depthMask
Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
intermediary depthMask
Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
official depthMask
Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
-
enableBlend
public static void enableBlend() -
disableBlend
public static void disableBlend() -
blendFunc
public static void blendFunc(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor) - Mappings:
Namespace Name Mixin selector named blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
intermediary blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
official blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
-
blendFunc
public static void blendFunc(int srcFactor, int dstFactor) - Mappings:
Namespace Name Mixin selector named blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
intermediary blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
official blendFunc
Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
-
blendFuncSeparate
public static void blendFuncSeparate(GlStateManager.SrcFactor srcFactor, GlStateManager.DstFactor dstFactor, GlStateManager.SrcFactor srcAlpha, GlStateManager.DstFactor dstAlpha) - Mappings:
Namespace Name Mixin selector named blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
intermediary blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
official blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
-
blendFuncSeparate
public static void blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha) - Mappings:
Namespace Name Mixin selector named blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
intermediary blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
official blendFuncSeparate
Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
-
blendEquation
public static void blendEquation(int mode) - Mappings:
Namespace Name Mixin selector named blendEquation
Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
intermediary blendEquation
Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
official blendEquation
Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
-
enableCull
public static void enableCull() -
disableCull
public static void disableCull() -
polygonMode
public static void polygonMode(int face, int mode) - Mappings:
Namespace Name Mixin selector named polygonMode
Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
intermediary polygonMode
Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
official polygonMode
Lcom/mojang/blaze3d/systems/RenderSystem;polygonMode(II)V
-
enablePolygonOffset
public static void enablePolygonOffset() -
disablePolygonOffset
public static void disablePolygonOffset() -
polygonOffset
public static void polygonOffset(float factor, float units) - Mappings:
Namespace Name Mixin selector named polygonOffset
Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
intermediary polygonOffset
Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
official polygonOffset
Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
-
enableColorLogicOp
public static void enableColorLogicOp() -
disableColorLogicOp
public static void disableColorLogicOp() -
logicOp
- Mappings:
Namespace Name Mixin selector named logicOp
Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$LogicOp;)V
intermediary logicOp
Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$class_1030;)V
official logicOp
Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$g;)V
-
activeTexture
public static void activeTexture(int texture) - Mappings:
Namespace Name Mixin selector named activeTexture
Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
intermediary activeTexture
Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
official activeTexture
Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
-
texParameter
public static void texParameter(int target, int pname, int param) - Mappings:
Namespace Name Mixin selector named texParameter
Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
intermediary texParameter
Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
official texParameter
Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
-
deleteTexture
public static void deleteTexture(int texture) - Mappings:
Namespace Name Mixin selector named deleteTexture
Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
intermediary deleteTexture
Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
official deleteTexture
Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
-
bindTextureForSetup
public static void bindTextureForSetup(int id) - Mappings:
Namespace Name Mixin selector named bindTextureForSetup
Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
intermediary bindTextureForSetup
Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
official bindTextureForSetup
Lcom/mojang/blaze3d/systems/RenderSystem;bindTextureForSetup(I)V
-
bindTexture
public static void bindTexture(int texture) - Mappings:
Namespace Name Mixin selector named bindTexture
Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
intermediary bindTexture
Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
official bindTexture
Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
-
viewport
public static void viewport(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named viewport
Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
intermediary viewport
Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
official viewport
Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
-
colorMask
public static void colorMask(boolean red, boolean green, boolean blue, boolean alpha) - Mappings:
Namespace Name Mixin selector named colorMask
Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
intermediary colorMask
Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
official colorMask
Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
-
stencilFunc
public static void stencilFunc(int func, int ref, int mask) - Mappings:
Namespace Name Mixin selector named stencilFunc
Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
intermediary stencilFunc
Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
official stencilFunc
Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
-
stencilMask
public static void stencilMask(int mask) - Mappings:
Namespace Name Mixin selector named stencilMask
Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
intermediary stencilMask
Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
official stencilMask
Lcom/mojang/blaze3d/systems/RenderSystem;stencilMask(I)V
-
stencilOp
public static void stencilOp(int sfail, int dpfail, int dppass) - Mappings:
Namespace Name Mixin selector named stencilOp
Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
intermediary stencilOp
Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
official stencilOp
Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
-
clearDepth
public static void clearDepth(double depth) - Mappings:
Namespace Name Mixin selector named clearDepth
Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
intermediary clearDepth
Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
official clearDepth
Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
-
clearColor
public static void clearColor(float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named clearColor
Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
intermediary clearColor
Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
official clearColor
Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
-
clearStencil
public static void clearStencil(int stencil) - Mappings:
Namespace Name Mixin selector named clearStencil
Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
intermediary clearStencil
Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
official clearStencil
Lcom/mojang/blaze3d/systems/RenderSystem;clearStencil(I)V
-
clear
public static void clear(int mask, boolean getError) - Mappings:
Namespace Name Mixin selector named clear
Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
intermediary clear
Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
official clear
Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
-
setShaderFogStart
public static void setShaderFogStart(float shaderFogStart) - Mappings:
Namespace Name Mixin selector named setShaderFogStart
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
intermediary setShaderFogStart
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
official setShaderFogStart
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogStart(F)V
-
getShaderFogStart
public static float getShaderFogStart() -
setShaderGlintAlpha
public static void setShaderGlintAlpha(double double2) -
setShaderGlintAlpha
public static void setShaderGlintAlpha(float float2) -
getShaderGlintAlpha
public static float getShaderGlintAlpha() -
setShaderFogEnd
public static void setShaderFogEnd(float shaderFogEnd) - Mappings:
Namespace Name Mixin selector named setShaderFogEnd
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
intermediary setShaderFogEnd
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
official setShaderFogEnd
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogEnd(F)V
-
getShaderFogEnd
public static float getShaderFogEnd() -
setShaderFogColor
public static void setShaderFogColor(float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
intermediary setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
official setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFFF)V
-
setShaderFogColor
public static void setShaderFogColor(float red, float green, float blue) - Mappings:
Namespace Name Mixin selector named setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
intermediary setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
official setShaderFogColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogColor(FFF)V
-
getShaderFogColor
public static float[] getShaderFogColor() -
setShaderFogShape
- Mappings:
Namespace Name Mixin selector named setShaderFogShape
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lnet/minecraft/client/render/FogShape;)V
intermediary setShaderFogShape
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lnet/minecraft/class_6854;)V
official setShaderFogShape
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderFogShape(Lfap;)V
-
getShaderFogShape
-
setShaderLights
-
setupShaderLights
- Mappings:
Namespace Name Mixin selector named setupShaderLights
Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lnet/minecraft/client/gl/ShaderProgram;)V
intermediary setupShaderLights
Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lnet/minecraft/class_5944;)V
official setupShaderLights
Lcom/mojang/blaze3d/systems/RenderSystem;setupShaderLights(Lgfh;)V
-
setShaderColor
public static void setShaderColor(float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
intermediary setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
official setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
-
_setShaderColor
private static void _setShaderColor(float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named _setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
intermediary _setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
official _setShaderColor
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderColor(FFFF)V
-
getShaderColor
public static float[] getShaderColor() -
drawElements
public static void drawElements(int mode, int count, int type) - Mappings:
Namespace Name Mixin selector named drawElements
Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
intermediary drawElements
Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
official drawElements
Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
-
lineWidth
public static void lineWidth(float width) - Mappings:
Namespace Name Mixin selector named lineWidth
Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
intermediary lineWidth
Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
official lineWidth
Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
-
getShaderLineWidth
public static float getShaderLineWidth() -
pixelStore
public static void pixelStore(int pname, int param) - Mappings:
Namespace Name Mixin selector named pixelStore
Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
intermediary pixelStore
Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
official pixelStore
Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
-
readPixels
public static void readPixels(int x, int y, int width, int height, int format, int type, ByteBuffer pixels) - Mappings:
Namespace Name Mixin selector named readPixels
Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
intermediary readPixels
Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
official readPixels
Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
-
getString
- Mappings:
Namespace Name Mixin selector named getString
Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
intermediary getString
Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
official getString
Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
-
getBackendDescription
-
getApiDescription
-
initBackendSystem
-
initRenderer
public static void initRenderer(int debugVerbosity, boolean debugSync) - Mappings:
Namespace Name Mixin selector named initRenderer
Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
intermediary initRenderer
Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
official initRenderer
Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
-
setErrorCallback
- Mappings:
Namespace Name Mixin selector named setErrorCallback
Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
intermediary setErrorCallback
Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
official setErrorCallback
Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
-
renderCrosshair
public static void renderCrosshair(int size) - Mappings:
Namespace Name Mixin selector named renderCrosshair
Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
intermediary renderCrosshair
Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
official renderCrosshair
Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
-
getCapsString
-
setupDefaultState
public static void setupDefaultState(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named setupDefaultState
Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
intermediary setupDefaultState
Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
official setupDefaultState
Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
-
maxSupportedTextureSize
public static int maxSupportedTextureSize() -
glBindBuffer
public static void glBindBuffer(int target, int buffer) - Mappings:
Namespace Name Mixin selector named glBindBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
intermediary glBindBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
official glBindBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;glBindBuffer(II)V
-
glBindVertexArray
public static void glBindVertexArray(int array) - Mappings:
Namespace Name Mixin selector named glBindVertexArray
Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
intermediary glBindVertexArray
Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
official glBindVertexArray
Lcom/mojang/blaze3d/systems/RenderSystem;glBindVertexArray(I)V
-
glBufferData
- Mappings:
Namespace Name Mixin selector named glBufferData
Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
intermediary glBufferData
Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
official glBufferData
Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
-
glDeleteBuffers
public static void glDeleteBuffers(int buffer) - Mappings:
Namespace Name Mixin selector named glDeleteBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
intermediary glDeleteBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
official glDeleteBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
-
glDeleteVertexArrays
public static void glDeleteVertexArrays(int array) - Mappings:
Namespace Name Mixin selector named glDeleteVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
intermediary glDeleteVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
official glDeleteVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteVertexArrays(I)V
-
glUniform1i
public static void glUniform1i(int location, int value) - Mappings:
Namespace Name Mixin selector named glUniform1i
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
intermediary glUniform1i
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
official glUniform1i
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
-
glUniform1
- Mappings:
Namespace Name Mixin selector named glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
intermediary glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
official glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
-
glUniform2
- Mappings:
Namespace Name Mixin selector named glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
intermediary glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
official glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
-
glUniform3
- Mappings:
Namespace Name Mixin selector named glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
intermediary glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
official glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
-
glUniform4
- Mappings:
Namespace Name Mixin selector named glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
intermediary glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
official glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
-
glUniform1
- Mappings:
Namespace Name Mixin selector named glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
intermediary glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
official glUniform1
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
-
glUniform2
- Mappings:
Namespace Name Mixin selector named glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
intermediary glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
official glUniform2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
-
glUniform3
- Mappings:
Namespace Name Mixin selector named glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
intermediary glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
official glUniform3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
-
glUniform4
- Mappings:
Namespace Name Mixin selector named glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
intermediary glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
official glUniform4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
-
glUniformMatrix2
- Mappings:
Namespace Name Mixin selector named glUniformMatrix2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
intermediary glUniformMatrix2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
official glUniformMatrix2
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
-
glUniformMatrix3
- Mappings:
Namespace Name Mixin selector named glUniformMatrix3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
intermediary glUniformMatrix3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
official glUniformMatrix3
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
-
glUniformMatrix4
- Mappings:
Namespace Name Mixin selector named glUniformMatrix4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
intermediary glUniformMatrix4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
official glUniformMatrix4
Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
-
setupOverlayColor
public static void setupOverlayColor(int texture, int size) - Mappings:
Namespace Name Mixin selector named setupOverlayColor
Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
intermediary setupOverlayColor
Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
official setupOverlayColor
Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(II)V
-
teardownOverlayColor
public static void teardownOverlayColor() -
setupLevelDiffuseLighting
-
setupGuiFlatDiffuseLighting
-
setupGui3DDiffuseLighting
-
beginInitialization
public static void beginInitialization() -
finishInitialization
public static void finishInitialization() -
glGenBuffers
- Mappings:
Namespace Name Mixin selector named glGenBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
intermediary glGenBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
official glGenBuffers
Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
-
glGenVertexArrays
- Mappings:
Namespace Name Mixin selector named glGenVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
intermediary glGenVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
official glGenVertexArrays
Lcom/mojang/blaze3d/systems/RenderSystem;glGenVertexArrays(Ljava/util/function/Consumer;)V
-
renderThreadTesselator
-
defaultBlendFunc
public static void defaultBlendFunc() -
runAsFancy
Deprecated.- Mappings:
Namespace Name Mixin selector named runAsFancy
Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
intermediary runAsFancy
Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
official runAsFancy
Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V
-
setShader
Sets theRenderSystem
's global shader program.Note that this sets both the vertex shader and the fragment shader indirectly through the given shader program. The name of this method is not obfuscated and is kept as is.
- Mappings:
Namespace Name Mixin selector named setShader
Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
intermediary setShader
Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
official setShader
Lcom/mojang/blaze3d/systems/RenderSystem;setShader(Ljava/util/function/Supplier;)V
-
getShader
-
setShaderTexture
- Mappings:
Namespace Name Mixin selector named setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/util/Identifier;)V
intermediary setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/class_2960;)V
official setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILakq;)V
-
_setShaderTexture
- Mappings:
Namespace Name Mixin selector named _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILnet/minecraft/util/Identifier;)V
intermediary _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILnet/minecraft/class_2960;)V
official _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(ILakq;)V
-
setShaderTexture
public static void setShaderTexture(int texture, int glId) - Mappings:
Namespace Name Mixin selector named setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
intermediary setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
official setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(II)V
-
_setShaderTexture
public static void _setShaderTexture(int texture, int glId) - Mappings:
Namespace Name Mixin selector named _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
intermediary _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
official _setShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;_setShaderTexture(II)V
-
getShaderTexture
public static int getShaderTexture(int texture) - Mappings:
Namespace Name Mixin selector named getShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
intermediary getShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
official getShaderTexture
Lcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)I
-
setProjectionMatrix
- Mappings:
Namespace Name Mixin selector named setProjectionMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/systems/VertexSorter;)V
intermediary setProjectionMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lnet/minecraft/class_8251;)V
official setProjectionMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lfbk;)V
-
setTextureMatrix
- Mappings:
Namespace Name Mixin selector named setTextureMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
intermediary setTextureMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
official setTextureMatrix
Lcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
-
resetTextureMatrix
public static void resetTextureMatrix() -
applyModelViewMatrix
public static void applyModelViewMatrix() -
backupProjectionMatrix
public static void backupProjectionMatrix() -
_backupProjectionMatrix
private static void _backupProjectionMatrix() -
restoreProjectionMatrix
public static void restoreProjectionMatrix() -
_restoreProjectionMatrix
private static void _restoreProjectionMatrix() -
getProjectionMatrix
-
getModelViewMatrix
-
getModelViewStack
-
getTextureMatrix
-
getSequentialBuffer
- Mappings:
Namespace Name Mixin selector named getSequentialBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/client/render/VertexFormat$DrawMode;)Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer;
intermediary getSequentialBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/class_293$class_5596;)Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;
official getSequentialBuffer
Lcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lfbh$c;)Lcom/mojang/blaze3d/systems/RenderSystem$a;
-
setShaderGameTime
public static void setShaderGameTime(long time, float tickDelta) - Mappings:
Namespace Name Mixin selector named setShaderGameTime
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
intermediary setShaderGameTime
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
official setShaderGameTime
Lcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
-
getShaderGameTime
public static float getShaderGameTime() -
getVertexSorting
-