Package com.mojang.blaze3d.systems
Class RenderSystem
java.lang.Object
com.mojang.blaze3d.systems.RenderSystem
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/RenderSystemintermediary com/mojang/blaze3d/systems/RenderSystemofficial com/mojang/blaze3d/systems/RenderSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final recordstatic final classAn index buffer that holds a pre-made indices for a specific shape. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static @Nullable class_10882private static double(package private) static final Loggerstatic final intprivate static final Vector3fprivate static final Matrix4fStackprivate static final ArrayListDeque<RenderSystem.class_10827> private static final AtomicLongprivate static final AtomicBooleanprivate static Matrix4fprivate static ProjectionTypeprivate static Matrix4fprivate static ProjectionTypestatic final class_10886private static final float[]private static Fogprivate static floatprivate static floatprivate static final Vector3f[]private static floatprivate static final DrawableTexture[]private static final RenderSystem.ShapeIndexBufferprivate static final RenderSystem.ShapeIndexBufferprivate static final RenderSystem.ShapeIndexBufferprivate static Matrix4f -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidactiveTexture(int texture) static voidstatic voidprivate static IllegalStateExceptionstatic voidstatic voidenableScissor(int x, int y, int width, int height) static voidstatic voidflipFrame(long window, @Nullable TracyFrameCapturer capturer) static Stringstatic Stringstatic class_10882static Vector3fstatic Matrix4fstatic Matrix4fStackstatic Matrix4fstatic ProjectionTypestatic GpuBuffergetQuadVertexBuffer(@Nullable Supplier<String> supplier) getSequentialBuffer(VertexFormat.DrawMode drawMode) static float[]static Fogstatic floatstatic floatstatic Vector3f[]static floatstatic @Nullable DrawableTexturegetShaderTexture(int texture) static Matrix4fstatic TimeSupplier.Nanosecondsstatic voidinitRenderer(long long2, int int2, boolean bool, BiFunction<Identifier, Type, String> biFunction, boolean bool2) static voidstatic booleanstatic booleanstatic voidlimitDisplayFPS(int fps) static voidlineWidth(float width) private static voidstatic voidqueueFencedTask(Runnable runnable) static voidstatic voidstatic voidstatic voidsetErrorCallback(GLFWErrorCallbackI callback) static voidsetModelOffset(float float2, float float3, float float4) static voidsetProjectionMatrix(Matrix4f projectionMatrix, ProjectionType projectionType) static voidsetShaderColor(float red, float green, float blue, float alpha) static voidsetShaderFog(Fog fog) static voidsetShaderGameTime(long time, float tickProgress) static voidsetShaderGlintAlpha(double double2) static voidsetShaderGlintAlpha(float float2) static voidsetShaderLights(Vector3f vector3f, Vector3f vector3f2) static voidsetShaderTexture(int texture, @Nullable DrawableTexture drawableTexture) static voidsetTextureMatrix(Matrix4f textureMatrix) static voidstatic voidsetupGui3DDiffuseLighting(Vector3f vector3f, Vector3f vector3f2) static voidsetupGuiFlatDiffuseLighting(Vector3f vector3f, Vector3f vector3f2) static voidsetupLevelDiffuseLighting(Vector3f vector3f, Vector3f vector3f2) static voidsetupOverlayColor(@Nullable DrawableTexture drawableTexture) static voidstatic @Nullable class_10882
-
Field Details
-
SCISSOR_STATE
-
LOGGER
-
MINIMUM_ATLAS_TEXTURE_SIZE
public static final int MINIMUM_ATLAS_TEXTURE_SIZE- See Also:
-
renderThread
-
DEVICE
-
lastDrawTime
private static double lastDrawTime -
projectionMatrix
-
savedProjectionMatrix
-
projectionType
-
savedProjectionType
-
modelViewStack
-
textureMatrix
-
shaderTextures
-
shaderColor
private static final float[] shaderColor -
shaderGlintAlpha
private static float shaderGlintAlpha -
shaderFog
-
shaderLightDirections
-
shaderGameTime
private static float shaderGameTime -
modelOffset
-
shaderLineWidth
private static float shaderLineWidth -
apiDescription
-
pollEventsWaitStart
-
pollingEvents
-
QUAD_VERTEX_BUFFER
-
PENDING_FENCES
-
-
Constructor Details
-
RenderSystem
public RenderSystem()
-
-
Method Details
-
initRenderThread
public static void initRenderThread() -
isOnRenderThread
public static boolean isOnRenderThread() -
assertOnRenderThread
public static void assertOnRenderThread() -
constructThreadException
-
pollEvents
private static void pollEvents() -
isFrozenAtPollEvents
public static boolean isFrozenAtPollEvents() -
flipFrame
- Mappings:
Namespace Name Mixin selector named flipFrameLcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLnet/minecraft/client/util/tracy/TracyFrameCapturer;)Vintermediary flipFrameLcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLnet/minecraft/class_10219;)Vofficial flipFrameLcom/mojang/blaze3d/systems/RenderSystem;flipFrame(JLfhw;)V
-
limitDisplayFPS
public static void limitDisplayFPS(int fps) - Mappings:
Namespace Name Mixin selector named limitDisplayFPSLcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)Vintermediary limitDisplayFPSLcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)Vofficial limitDisplayFPSLcom/mojang/blaze3d/systems/RenderSystem;limitDisplayFPS(I)V
-
enableScissor
public static void enableScissor(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named enableScissorLcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)Vintermediary enableScissorLcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)Vofficial enableScissorLcom/mojang/blaze3d/systems/RenderSystem;enableScissor(IIII)V
-
disableScissor
public static void disableScissor() -
activeTexture
public static void activeTexture(int texture) - Mappings:
Namespace Name Mixin selector named activeTextureLcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)Vintermediary activeTextureLcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)Vofficial activeTextureLcom/mojang/blaze3d/systems/RenderSystem;activeTexture(I)V
-
setShaderFog
-
getShaderFog
-
setShaderGlintAlpha
public static void setShaderGlintAlpha(double double2) -
setShaderGlintAlpha
public static void setShaderGlintAlpha(float float2) -
getShaderGlintAlpha
public static float getShaderGlintAlpha() -
setShaderLights
-
getShaderLights
-
setShaderColor
public static void setShaderColor(float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named setShaderColorLcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)Vintermediary setShaderColorLcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)Vofficial setShaderColorLcom/mojang/blaze3d/systems/RenderSystem;setShaderColor(FFFF)V
-
getShaderColor
public static float[] getShaderColor() -
lineWidth
public static void lineWidth(float width) - Mappings:
Namespace Name Mixin selector named lineWidthLcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)Vintermediary lineWidthLcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)Vofficial lineWidthLcom/mojang/blaze3d/systems/RenderSystem;lineWidth(F)V
-
getShaderLineWidth
public static float getShaderLineWidth() -
getBackendDescription
-
getApiDescription
-
initBackendSystem
-
initRenderer
public static void initRenderer(long long2, int int2, boolean bool, BiFunction<Identifier, Type, String> biFunction, boolean bool2) -
setErrorCallback
- Mappings:
Namespace Name Mixin selector named setErrorCallbackLcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)Vintermediary setErrorCallbackLcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)Vofficial setErrorCallbackLcom/mojang/blaze3d/systems/RenderSystem;setErrorCallback(Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
-
setupDefaultState
public static void setupDefaultState() -
setupOverlayColor
-
teardownOverlayColor
public static void teardownOverlayColor() -
setupLevelDiffuseLighting
-
setupGuiFlatDiffuseLighting
-
setupGui3DDiffuseLighting
-
setShaderTexture
public static void setShaderTexture(int texture, @Nullable @Nullable DrawableTexture drawableTexture) - Mappings:
Namespace Name Mixin selector named setShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/client/texture/DrawableTexture;)Vintermediary setShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILnet/minecraft/class_10792;)Vofficial setShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;setShaderTexture(ILflh;)V
-
getShaderTexture
- Mappings:
Namespace Name Mixin selector named getShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lnet/minecraft/client/texture/DrawableTexture;intermediary getShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lnet/minecraft/class_10792;official getShaderTextureLcom/mojang/blaze3d/systems/RenderSystem;getShaderTexture(I)Lflh;
-
setProjectionMatrix
- Mappings:
Namespace Name Mixin selector named setProjectionMatrixLcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/systems/ProjectionType;)Vintermediary setProjectionMatrixLcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lnet/minecraft/class_10366;)Vofficial setProjectionMatrixLcom/mojang/blaze3d/systems/RenderSystem;setProjectionMatrix(Lorg/joml/Matrix4f;Lfhu;)V
-
setTextureMatrix
- Mappings:
Namespace Name Mixin selector named setTextureMatrixLcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)Vintermediary setTextureMatrixLcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)Vofficial setTextureMatrixLcom/mojang/blaze3d/systems/RenderSystem;setTextureMatrix(Lorg/joml/Matrix4f;)V
-
resetTextureMatrix
public static void resetTextureMatrix() -
backupProjectionMatrix
public static void backupProjectionMatrix() -
restoreProjectionMatrix
public static void restoreProjectionMatrix() -
getProjectionMatrix
-
getModelViewMatrix
-
getModelViewStack
-
getTextureMatrix
-
getSequentialBuffer
- Mappings:
Namespace Name Mixin selector named getSequentialBufferLcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/client/render/VertexFormat$DrawMode;)Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer;intermediary getSequentialBufferLcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lnet/minecraft/class_293$class_5596;)Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;official getSequentialBufferLcom/mojang/blaze3d/systems/RenderSystem;getSequentialBuffer(Lfls$c;)Lcom/mojang/blaze3d/systems/RenderSystem$a;
-
setShaderGameTime
public static void setShaderGameTime(long time, float tickProgress) - Mappings:
Namespace Name Mixin selector named setShaderGameTimeLcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)Vintermediary setShaderGameTimeLcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)Vofficial setShaderGameTimeLcom/mojang/blaze3d/systems/RenderSystem;setShaderGameTime(JF)V
-
getShaderGameTime
public static float getShaderGameTime() -
getProjectionType
-
getQuadVertexBuffer
-
setModelOffset
public static void setModelOffset(float float2, float float3, float float4) -
resetModelOffset
public static void resetModelOffset() -
getModelOffset
-
queueFencedTask
-
executePendingTasks
public static void executePendingTasks() -
getDevice
-
tryGetDevice
-