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
public static final ScissorState
SCISSOR_STATE
SCISSOR_STATE
static final org.slf4j.Logger
LOGGER
LOGGER
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
private static Thread
renderThread
renderThread
private static GpuDevice
DEVICE
DEVICE
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 GpuTexture[]
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 final org.joml.Vector3f
modelOffset
modelOffset
private static float
shaderLineWidth
shaderLineWidth
private static String
apiDescription
apiDescription
private static final AtomicLong
pollEventsWaitStart
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
pollingEvents
private static GpuBuffer
QUAD_VERTEX_BUFFER
QUAD_VERTEX_BUFFER
private static final ArrayListDeque<RenderSystem$GpuAsyncTask>
PENDING_FENCES
PENDING_FENCES

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
initRenderThread()
initRenderThread()
public static boolean
isOnRenderThread()
isOnRenderThread()
public static void
assertOnRenderThread()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
constructThreadException()
private static void
pollEvents()
pollEvents()
public static boolean
isFrozenAtPollEvents()
isFrozenAtPollEvents()
public static void
flipFrame(long arg0, fhy arg1)
flipFrame(long arg0, TracyFrameCapture arg1)
flipFrame(long arg0, class_10219 arg1)
flipFrame(long window, TracyFrameCapturer capturer)
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
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
activeTexture(int arg0)
activeTexture(int arg0)
activeTexture(int arg0)
activeTexture(int texture)
public static void
setShaderFog(grq arg0)
setShaderFog(FogParameters arg0)
setShaderFog(class_9958 arg0)
setShaderFog(Fog shaderFog)
public static FogParameters
getShaderFog()
getShaderFog()
public static void
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double arg0)
setShaderGlintAlpha(double shaderGlintAlpha)
public static void
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float arg0)
setShaderGlintAlpha(float shaderGlintAlpha)
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 org.joml.Vector3f[]
getShaderLights()
getShaderLights()
public static void
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float arg0, float arg1, float arg2, float arg3)
setShaderColor(float red, float green, float blue, float alpha)
public static float[]
getShaderColor()
getShaderColor()
public static void
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float width)
public static float
getShaderLineWidth()
getShaderLineWidth()
public static String
getBackendDescription()
getBackendDescription()
public static String
getApiDescription()
getApiDescription()
public static TimeSource$NanoTimeSource
initBackendSystem()
initBackendSystem()
public static void
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<alk, fky, String> arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<ResourceLocation, ShaderType, String> arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<class_2960, class_282, String> arg3, boolean arg4)
initRenderer(long windowHandle, int debugVerbosity, boolean sync, BiFunction<Identifier, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels)
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
setupDefaultState()
setupDefaultState()
public static void
setupOverlayColor(flj arg0)
setupOverlayColor(GpuTexture arg0)
setupOverlayColor(class_10792 arg0)
setupOverlayColor(DrawableTexture texture)
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
setShaderTexture(int arg0, flj arg1)
setShaderTexture(int arg0, GpuTexture arg1)
setShaderTexture(int arg0, class_10792 arg1)
setShaderTexture(int textureId, DrawableTexture texture)
public static GpuTexture
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int texture)
public static void
setProjectionMatrix(org.joml.Matrix4f arg0, fhw 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(flu$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 tickProgress)
public static float
getShaderGameTime()
getShaderGameTime()
public static ProjectionType
getProjectionType()
getProjectionType()
public static GpuBuffer
getQuadVertexBuffer()
getQuadVertexBuffer()
public static void
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float arg0, float arg1, float arg2)
public static void
resetModelOffset()
resetModelOffset()
public static org.joml.Vector3f
getModelOffset()
getModelOffset()
public static void
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable task)
public static void
executePendingTasks()
executePendingTasks()
public static GpuDevice
getDevice()
getDevice()
public static GpuDevice
tryGetDevice()
tryGetDevice()