Class RenderSystem

java.lang.Object
com.mojang.blaze3d.systems.RenderSystem

@Environment(CLIENT) public class RenderSystem extends Object
Mappings:
Namespace Name
official com/mojang/blaze3d/systems/RenderSystem
intermediary com/mojang/blaze3d/systems/RenderSystem
named com/mojang/blaze3d/systems/RenderSystem
  • Field Details

    • LOGGER

      static final Logger LOGGER
    • recordingQueue

      private static final ConcurrentLinkedQueue<RenderCall> recordingQueue
    • RENDER_THREAD_TESSELATOR

      private static final Tessellator RENDER_THREAD_TESSELATOR
    • MINIMUM_ATLAS_TEXTURE_SIZE

      private static final int MINIMUM_ATLAS_TEXTURE_SIZE
      See Also:
    • isReplayingQueue

      private static boolean isReplayingQueue
    • gameThread

      @Nullable private static @Nullable Thread gameThread
    • renderThread

      @Nullable private static @Nullable Thread renderThread
    • MAX_SUPPORTED_TEXTURE_SIZE

      private static int MAX_SUPPORTED_TEXTURE_SIZE
    • isInInit

      private static boolean isInInit
    • lastDrawTime

      private static double lastDrawTime
    • sharedSequential

      private static final RenderSystem.IndexBuffer sharedSequential
    • sharedSequentialQuad

      private static final RenderSystem.IndexBuffer sharedSequentialQuad
    • sharedSequentialLines

      private static final RenderSystem.IndexBuffer sharedSequentialLines
    • inverseViewRotationMatrix

      private static Matrix3f inverseViewRotationMatrix
    • projectionMatrix

      private static Matrix4f projectionMatrix
    • savedProjectionMatrix

      private static Matrix4f savedProjectionMatrix
    • modelViewStack

      private static MatrixStack modelViewStack
    • modelViewMatrix

      private static Matrix4f modelViewMatrix
    • textureMatrix

      private static Matrix4f textureMatrix
    • shaderTextures

      private static final int[] shaderTextures
    • shaderColor

      private static final float[] shaderColor
    • shaderFogStart

      private static float shaderFogStart
    • shaderFogEnd

      private static float shaderFogEnd
    • shaderFogColor

      private static final float[] shaderFogColor
    • shaderLightDirections

      private static final Vec3f[] shaderLightDirections
    • shaderGameTime

      private static float shaderGameTime
    • shaderLineWidth

      private static float shaderLineWidth
    • apiDescription

      private static String apiDescription
    • shader

      @Nullable private static @Nullable Shader shader
  • Constructor Details

    • RenderSystem

      public RenderSystem()
  • Method Details

    • initRenderThread

      public static void initRenderThread()
    • isOnRenderThread

      public static boolean isOnRenderThread()
    • isOnRenderThreadOrInit

      public static boolean isOnRenderThreadOrInit()
    • initGameThread

      public static void initGameThread(boolean assertNotRenderThread)
      Mappings:
      Namespace Name Mixin selector
      official initGameThread Lcom/mojang/blaze3d/systems/RenderSystem;initGameThread(Z)V
      intermediary initGameThread Lcom/mojang/blaze3d/systems/RenderSystem;initGameThread(Z)V
      named initGameThread Lcom/mojang/blaze3d/systems/RenderSystem;initGameThread(Z)V
    • isOnGameThread

      public static boolean isOnGameThread()
    • assertInInitPhase

      public static void assertInInitPhase()
    • assertOnGameThreadOrInit

      public static void assertOnGameThreadOrInit()
    • assertOnRenderThreadOrInit

      public static void assertOnRenderThreadOrInit()
    • assertOnRenderThread

      public static void assertOnRenderThread()
    • assertOnGameThread

      public static void assertOnGameThread()
    • constructThreadException

      private static IllegalStateException constructThreadException()
    • isInInitPhase

      public static boolean isInInitPhase()
    • recordRenderCall

      public static void recordRenderCall(RenderCall renderCall)
      Mappings:
      Namespace Name Mixin selector
      official recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Ldqv;)V
      intermediary recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lnet/minecraft/class_4573;)V
      named recordRenderCall Lcom/mojang/blaze3d/systems/RenderSystem;recordRenderCall(Lcom/mojang/blaze3d/systems/RenderCall;)V
    • flipFrame

      public static void flipFrame(long window)
      Mappings:
      Namespace Name Mixin selector
      official flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
      intermediary flipFrame Lcom/mojang/blaze3d/systems/RenderSystem;flipFrame(J)V
      named 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
      official limitDisplayFPS Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
      intermediary limitDisplayFPS Lcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
      named 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 int2, int int3, int int4, int int5)
    • disableScissor

      public static void disableScissor()
    • depthFunc

      public static void depthFunc(int func)
      Mappings:
      Namespace Name Mixin selector
      official depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
      intermediary depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
      named depthFunc Lcom/mojang/blaze3d/systems/RenderSystem;depthFunc(I)V
    • depthMask

      public static void depthMask(boolean mask)
      Mappings:
      Namespace Name Mixin selector
      official depthMask Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
      intermediary depthMask Lcom/mojang/blaze3d/systems/RenderSystem;depthMask(Z)V
      named 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
      official blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V
      intermediary blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$class_4535;Lcom/mojang/blaze3d/platform/GlStateManager$class_4534;)V
      named blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(Lcom/mojang/blaze3d/platform/GlStateManager$SrcFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DstFactor;)V
    • blendFunc

      public static void blendFunc(int srcFactor, int dstFactor)
      Mappings:
      Namespace Name Mixin selector
      official blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
      intermediary blendFunc Lcom/mojang/blaze3d/systems/RenderSystem;blendFunc(II)V
      named 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
      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
      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
      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
    • blendFuncSeparate

      public static void blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)
      Mappings:
      Namespace Name Mixin selector
      official blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
      intermediary blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
      named blendFuncSeparate Lcom/mojang/blaze3d/systems/RenderSystem;blendFuncSeparate(IIII)V
    • blendEquation

      public static void blendEquation(int mode)
      Mappings:
      Namespace Name Mixin selector
      official blendEquation Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
      intermediary blendEquation Lcom/mojang/blaze3d/systems/RenderSystem;blendEquation(I)V
      named 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 int2, int int3)
    • enablePolygonOffset

      public static void enablePolygonOffset()
    • disablePolygonOffset

      public static void disablePolygonOffset()
    • polygonOffset

      public static void polygonOffset(float factor, float units)
      Mappings:
      Namespace Name Mixin selector
      official polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
      intermediary polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
      named polygonOffset Lcom/mojang/blaze3d/systems/RenderSystem;polygonOffset(FF)V
    • enableColorLogicOp

      public static void enableColorLogicOp()
    • disableColorLogicOp

      public static void disableColorLogicOp()
    • logicOp

      public static void logicOp(GlStateManager.LogicOp op)
      Mappings:
      Namespace Name Mixin selector
      official logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$g;)V
      intermediary logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$class_1030;)V
      named logicOp Lcom/mojang/blaze3d/systems/RenderSystem;logicOp(Lcom/mojang/blaze3d/platform/GlStateManager$LogicOp;)V
    • activeTexture

      public static void activeTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      official activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
      intermediary activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
      named activeTexture Lcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
    • enableTexture

      public static void enableTexture()
    • disableTexture

      public static void disableTexture()
    • texParameter

      public static void texParameter(int target, int pname, int param)
      Mappings:
      Namespace Name Mixin selector
      official texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
      intermediary texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
      named texParameter Lcom/mojang/blaze3d/systems/RenderSystem;texParameter(III)V
    • deleteTexture

      public static void deleteTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      official deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
      intermediary deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
      named deleteTexture Lcom/mojang/blaze3d/systems/RenderSystem;deleteTexture(I)V
    • bindTextureForSetup

      public static void bindTextureForSetup(int int2)
    • bindTexture

      public static void bindTexture(int texture)
      Mappings:
      Namespace Name Mixin selector
      official bindTexture Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
      intermediary bindTexture Lcom/mojang/blaze3d/systems/RenderSystem;bindTexture(I)V
      named 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
      official viewport Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
      intermediary viewport Lcom/mojang/blaze3d/systems/RenderSystem;viewport(IIII)V
      named 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
      official colorMask Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
      intermediary colorMask Lcom/mojang/blaze3d/systems/RenderSystem;colorMask(ZZZZ)V
      named 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
      official stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
      intermediary stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
      named stencilFunc Lcom/mojang/blaze3d/systems/RenderSystem;stencilFunc(III)V
    • stencilMask

      public static void stencilMask(int int2)
    • stencilOp

      public static void stencilOp(int sfail, int dpfail, int dppass)
      Mappings:
      Namespace Name Mixin selector
      official stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
      intermediary stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
      named stencilOp Lcom/mojang/blaze3d/systems/RenderSystem;stencilOp(III)V
    • clearDepth

      public static void clearDepth(double depth)
      Mappings:
      Namespace Name Mixin selector
      official clearDepth Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
      intermediary clearDepth Lcom/mojang/blaze3d/systems/RenderSystem;clearDepth(D)V
      named 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
      official clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
      intermediary clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
      named clearColor Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V
    • clearStencil

      public static void clearStencil(int int2)
    • clear

      public static void clear(int mask, boolean getError)
      Mappings:
      Namespace Name Mixin selector
      official clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
      intermediary clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
      named clear Lcom/mojang/blaze3d/systems/RenderSystem;clear(IZ)V
    • setShaderFogStart

      public static void setShaderFogStart(float float2)
    • _setShaderFogStart

      private static void _setShaderFogStart(float float2)
    • getShaderFogStart

      public static float getShaderFogStart()
    • setShaderFogEnd

      public static void setShaderFogEnd(float float2)
    • _setShaderFogEnd

      private static void _setShaderFogEnd(float float2)
    • getShaderFogEnd

      public static float getShaderFogEnd()
    • setShaderFogColor

      public static void setShaderFogColor(float float2, float float3, float float4, float float5)
    • setShaderFogColor

      public static void setShaderFogColor(float float2, float float3, float float4)
    • _setShaderFogColor

      private static void _setShaderFogColor(float float2, float float3, float float4, float float5)
    • getShaderFogColor

      public static float[] getShaderFogColor()
    • setShaderLights

      public static void setShaderLights(Vec3f vec3f, Vec3f vec3f2)
    • _setShaderLights

      public static void _setShaderLights(Vec3f vec3f, Vec3f vec3f2)
    • setupShaderLights

      public static void setupShaderLights(Shader shader)
    • setShaderColor

      public static void setShaderColor(float float2, float float3, float float4, float float5)
    • _setShaderColor

      private static void _setShaderColor(float float2, float float3, float float4, float float5)
    • getShaderColor

      public static float[] getShaderColor()
    • drawElements

      public static void drawElements(int mode, int first, int count)
      Mappings:
      Namespace Name Mixin selector
      official drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
      intermediary drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
      named drawElements Lcom/mojang/blaze3d/systems/RenderSystem;drawElements(III)V
    • lineWidth

      public static void lineWidth(float width)
      Mappings:
      Namespace Name Mixin selector
      official lineWidth Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
      intermediary lineWidth Lcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
      named 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
      official pixelStore Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
      intermediary pixelStore Lcom/mojang/blaze3d/systems/RenderSystem;pixelStore(II)V
      named 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
      official readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
      intermediary readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
      named readPixels Lcom/mojang/blaze3d/systems/RenderSystem;readPixels(IIIIIILjava/nio/ByteBuffer;)V
    • getString

      public static void getString(int name, Consumer<String> consumer)
      Mappings:
      Namespace Name Mixin selector
      official 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
      named getString Lcom/mojang/blaze3d/systems/RenderSystem;getString(ILjava/util/function/Consumer;)V
    • getBackendDescription

      public static String getBackendDescription()
    • getApiDescription

      public static String getApiDescription()
    • initBackendSystem

      public static LongSupplier initBackendSystem()
    • initRenderer

      public static void initRenderer(int debugVerbosity, boolean debugSync)
      Mappings:
      Namespace Name Mixin selector
      official initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
      intermediary initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
      named initRenderer Lcom/mojang/blaze3d/systems/RenderSystem;initRenderer(IZ)V
    • setErrorCallback

      public static void setErrorCallback(GLFWErrorCallbackI callback)
      Mappings:
      Namespace Name Mixin selector
      official 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
      named setErrorCallback Lcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
    • renderCrosshair

      public static void renderCrosshair(int size)
      Mappings:
      Namespace Name Mixin selector
      official renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
      intermediary renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
      named renderCrosshair Lcom/mojang/blaze3d/systems/RenderSystem;renderCrosshair(I)V
    • getCapsString

      public static String getCapsString()
    • setupDefaultState

      public static void setupDefaultState(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
      intermediary setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
      named setupDefaultState Lcom/mojang/blaze3d/systems/RenderSystem;setupDefaultState(IIII)V
    • maxSupportedTextureSize

      public static int maxSupportedTextureSize()
    • glBindBuffer

      public static void glBindBuffer(int int2, IntSupplier intSupplier)
    • glBindVertexArray

      public static void glBindVertexArray(Supplier<Integer> supplier)
    • glBufferData

      public static void glBufferData(int target, ByteBuffer data, int usage)
      Mappings:
      Namespace Name Mixin selector
      official 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
      named glBufferData Lcom/mojang/blaze3d/systems/RenderSystem;glBufferData(ILjava/nio/ByteBuffer;I)V
    • glDeleteBuffers

      public static void glDeleteBuffers(int buffer)
      Mappings:
      Namespace Name Mixin selector
      official glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
      intermediary glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
      named glDeleteBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glDeleteBuffers(I)V
    • glDeleteVertexArrays

      public static void glDeleteVertexArrays(int int2)
    • glUniform1i

      public static void glUniform1i(int location, int value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
      intermediary glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
      named glUniform1i Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1i(II)V
    • glUniform1

      public static void glUniform1(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
      intermediary glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
      named glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/IntBuffer;)V
    • glUniform2

      public static void glUniform2(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
      intermediary glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
      named glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/IntBuffer;)V
    • glUniform3

      public static void glUniform3(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
      intermediary glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
      named glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/IntBuffer;)V
    • glUniform4

      public static void glUniform4(int location, IntBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
      intermediary glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
      named glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/IntBuffer;)V
    • glUniform1

      public static void glUniform1(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
      intermediary glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
      named glUniform1 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform1(ILjava/nio/FloatBuffer;)V
    • glUniform2

      public static void glUniform2(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
      intermediary glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
      named glUniform2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform2(ILjava/nio/FloatBuffer;)V
    • glUniform3

      public static void glUniform3(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
      intermediary glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
      named glUniform3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform3(ILjava/nio/FloatBuffer;)V
    • glUniform4

      public static void glUniform4(int location, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
      intermediary glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
      named glUniform4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniform4(ILjava/nio/FloatBuffer;)V
    • glUniformMatrix2

      public static void glUniformMatrix2(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
      named glUniformMatrix2 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix2(IZLjava/nio/FloatBuffer;)V
    • glUniformMatrix3

      public static void glUniformMatrix3(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
      named glUniformMatrix3 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix3(IZLjava/nio/FloatBuffer;)V
    • glUniformMatrix4

      public static void glUniformMatrix4(int location, boolean transpose, FloatBuffer value)
      Mappings:
      Namespace Name Mixin selector
      official glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
      intermediary glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
      named glUniformMatrix4 Lcom/mojang/blaze3d/systems/RenderSystem;glUniformMatrix4(IZLjava/nio/FloatBuffer;)V
    • setupOverlayColor

      public static void setupOverlayColor(IntSupplier texture, int size)
      Mappings:
      Namespace Name Mixin selector
      official setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(Ljava/util/function/IntSupplier;I)V
      intermediary setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(Ljava/util/function/IntSupplier;I)V
      named setupOverlayColor Lcom/mojang/blaze3d/systems/RenderSystem;setupOverlayColor(Ljava/util/function/IntSupplier;I)V
    • teardownOverlayColor

      public static void teardownOverlayColor()
    • setupLevelDiffuseLighting

      public static void setupLevelDiffuseLighting(Vec3f vec3f, Vec3f vec3f2, Matrix4f matrix4f)
    • setupGuiFlatDiffuseLighting

      public static void setupGuiFlatDiffuseLighting(Vec3f vec3f, Vec3f vec3f2)
    • setupGui3DDiffuseLighting

      public static void setupGui3DDiffuseLighting(Vec3f vec3f, Vec3f vec3f2)
    • beginInitialization

      public static void beginInitialization()
    • finishInitialization

      public static void finishInitialization()
    • glGenBuffers

      public static void glGenBuffers(Consumer<Integer> consumer)
      Mappings:
      Namespace Name Mixin selector
      official 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
      named glGenBuffers Lcom/mojang/blaze3d/systems/RenderSystem;glGenBuffers(Ljava/util/function/Consumer;)V
    • glGenVertexArrays

      public static void glGenVertexArrays(Consumer<Integer> consumer)
    • renderThreadTesselator

      public static Tessellator renderThreadTesselator()
    • defaultBlendFunc

      public static void defaultBlendFunc()
    • runAsFancy

      @Deprecated public static void runAsFancy(Runnable runnable)
      Deprecated.
    • setShader

      public static void setShader(Supplier<Shader> supplier)
    • getShader

      @Nullable public static @Nullable Shader getShader()
    • getTextureId

      public static int getTextureId(int int2)
    • setShaderTexture

      public static void setShaderTexture(int int2, Identifier identifier)
    • _setShaderTexture

      public static void _setShaderTexture(int int2, Identifier identifier)
    • setShaderTexture

      public static void setShaderTexture(int int2, int int3)
    • _setShaderTexture

      public static void _setShaderTexture(int int2, int int3)
    • getShaderTexture

      public static int getShaderTexture(int int2)
    • setProjectionMatrix

      public static void setProjectionMatrix(Matrix4f matrix4f)
    • setInverseViewRotationMatrix

      public static void setInverseViewRotationMatrix(Matrix3f matrix3f)
    • setTextureMatrix

      public static void setTextureMatrix(Matrix4f matrix4f)
    • 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

      public static Matrix4f getProjectionMatrix()
    • getInverseViewRotationMatrix

      public static Matrix3f getInverseViewRotationMatrix()
    • getModelViewMatrix

      public static Matrix4f getModelViewMatrix()
    • getModelViewStack

      public static MatrixStack getModelViewStack()
    • getTextureMatrix

      public static Matrix4f getTextureMatrix()
    • getSequentialBuffer

      public static RenderSystem.IndexBuffer getSequentialBuffer(VertexFormat.DrawMode drawMode, int int2)
    • setShaderGameTime

      public static void setShaderGameTime(long long2, float float2)
    • getShaderGameTime

      public static float getShaderGameTime()