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
com.mojang.blaze3d.systems.RenderSystem

Field summary

Modifier and TypeField
static final org.slf4j.Logger
LOGGER
LOGGER
LOGGER
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
public static final int
PROJECTION_MATRIX_UBO_SIZE
PROJECTION_MATRIX_UBO_SIZE
PROJECTION_MATRIX_UBO_SIZE
private static Thread
renderThread
renderThread
renderThread
private static GpuDevice
DEVICE
DEVICE
DEVICE
private static double
lastDrawTime
lastDrawTime
lastDrawTime
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequential
sharedSequential
sharedSequential
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequentialQuad
sharedSequentialQuad
sharedSequentialQuad
private static final RenderSystem$AutoStorageIndexBuffer
sharedSequentialLines
sharedSequentialLines
sharedSequentialLines
private static ProjectionType
projectionType
projectionType
projectionType
private static ProjectionType
savedProjectionType
savedProjectionType
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
modelViewStack
modelViewStack
private static org.joml.Matrix4f
textureMatrix
textureMatrix
textureMatrix
public static final int
TEXTURE_COUNT
TEXTURE_COUNT
TEXTURE_COUNT
private static final GpuTextureView[]
shaderTextures
shaderTextures
shaderTextures
private static GpuBufferSlice
shaderFog
shaderFog
shaderFog
private static GpuBufferSlice
shaderLightDirections
shaderLightDirections
shaderLightDirections
private static GpuBufferSlice
projectionMatrixBuffer
projectionMatrixBuffer
projectionMatrixBuffer
private static GpuBufferSlice
savedProjectionMatrixBuffer
savedProjectionMatrixBuffer
savedProjectionMatrixBuffer
private static final org.joml.Vector3f
modelOffset
modelOffset
modelOffset
private static float
shaderLineWidth
shaderLineWidth
shaderLineWidth
private static String
apiDescription
apiDescription
apiDescription
private static final AtomicLong
pollEventsWaitStart
pollEventsWaitStart
pollEventsWaitStart
private static final AtomicBoolean
pollingEvents
pollingEvents
pollingEvents
private static GpuBuffer
QUAD_VERTEX_BUFFER
QUAD_VERTEX_BUFFER
QUAD_VERTEX_BUFFER
private static final ArrayListDeque<RenderSystem$GpuAsyncTask>
PENDING_FENCES
PENDING_FENCES
PENDING_FENCES
public static GpuTextureView
outputColorTextureOverride
outputColorTextureOverride
outputColorTextureOverride
public static GpuTextureView
outputDepthTextureOverride
outputDepthTextureOverride
outputDepthTextureOverride
private static GpuBuffer
globalSettingsUniform
globalSettingsUniform
globalSettingsUniform
private static DynamicUniforms
dynamicUniforms
dynamicUniforms
dynamicUniforms
private static ScissorState
scissorStateForRenderTypeDraws
scissorStateForRenderTypeDraws
scissorStateForRenderTypeDraws

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
initRenderThread()
initRenderThread()
initRenderThread()
public static boolean
isOnRenderThread()
isOnRenderThread()
isOnRenderThread()
public static void
assertOnRenderThread()
assertOnRenderThread()
assertOnRenderThread()
private static IllegalStateException
constructThreadException()
constructThreadException()
constructThreadException()
private static void
pollEvents()
pollEvents()
pollEvents()
public static boolean
isFrozenAtPollEvents()
isFrozenAtPollEvents()
isFrozenAtPollEvents()
public static void
flipFrame(long arg0, flf arg1)
flipFrame(long arg0, TracyFrameCapture arg1)
flipFrame(long arg0, class_10219 arg1)
flipFrame(long window, TracyFrameCapturer capturer)
flipFrame(long p_69496_, C_346145_ arg1)
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
limitDisplayFPS(int fps)
limitDisplayFPS(int p_69831_)
public static void
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice shaderFog)
setShaderFog(GpuBufferSlice p_409894_)
public static GpuBufferSlice
getShaderFog()
getShaderFog()
getShaderFog()
public static void
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice shaderLightDirections)
setShaderLights(GpuBufferSlice p_408396_)
public static GpuBufferSlice
getShaderLights()
getShaderLights()
getShaderLights()
public static void
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float arg0)
lineWidth(float width)
lineWidth(float p_69833_)
public static float
getShaderLineWidth()
getShaderLineWidth()
getShaderLineWidth()
public static void
enableScissorForRenderTypeDraws(int arg0, int arg1, int arg2, int arg3)
enableScissorForRenderTypeDraws(int arg0, int arg1, int arg2, int arg3)
enableScissorForRenderTypeDraws(int p_407020_, int p_408483_, int p_407056_, int p_408839_)
public static void
disableScissorForRenderTypeDraws()
disableScissorForRenderTypeDraws()
disableScissorForRenderTypeDraws()
public static ScissorState
getScissorStateForRenderTypeDraws()
getScissorStateForRenderTypeDraws()
getScissorStateForRenderTypeDraws()
public static String
getBackendDescription()
getBackendDescription()
getBackendDescription()
public static String
getApiDescription()
getApiDescription()
getApiDescription()
public static TimeSource$NanoTimeSource
initBackendSystem()
initBackendSystem()
initBackendSystem()
public static void
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<ame, ShaderType, 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, ShaderType, String> arg3, boolean arg4)
initRenderer(long windowHandle, int debugVerbosity, boolean sync, BiFunction<Identifier, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels)
initRenderer(long p_392173_, int p_69582_, boolean p_393765_, BiFunction<C_5265_, ShaderType, String> p_394006_, boolean arg4)
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)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI p_69901_)
public static void
setupDefaultState()
setupDefaultState()
setupDefaultState()
public static void
setupOverlayColor(GpuTextureView arg0)
setupOverlayColor(GpuTextureView arg0)
setupOverlayColor(GpuTextureView arg0)
setupOverlayColor(GpuTextureView texture)
setupOverlayColor(GpuTextureView p_407173_)
public static void
teardownOverlayColor()
teardownOverlayColor()
teardownOverlayColor()
public static void
setShaderTexture(int arg0, GpuTextureView arg1)
setShaderTexture(int arg0, GpuTextureView arg1)
setShaderTexture(int arg0, GpuTextureView arg1)
setShaderTexture(int index, GpuTextureView texture)
setShaderTexture(int p_157457_, GpuTextureView p_409189_)
public static GpuTextureView
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int arg0)
getShaderTexture(int index)
getShaderTexture(int p_157204_)
public static void
setProjectionMatrix(GpuBufferSlice arg0, fld arg1)
setProjectionMatrix(GpuBufferSlice arg0, ProjectionType arg1)
setProjectionMatrix(GpuBufferSlice arg0, class_10366 arg1)
setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType projectionType)
setProjectionMatrix(GpuBufferSlice p_406147_, C_345792_ p_362578_)
public static void
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f textureMatrix)
setTextureMatrix(org.joml.Matrix4f p_254081_)
public static void
resetTextureMatrix()
resetTextureMatrix()
resetTextureMatrix()
public static void
backupProjectionMatrix()
backupProjectionMatrix()
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
restoreProjectionMatrix()
restoreProjectionMatrix()
public static GpuBufferSlice
getProjectionMatrixBuffer()
getProjectionMatrixBuffer()
getProjectionMatrixBuffer()
public static org.joml.Matrix4f
getModelViewMatrix()
getModelViewMatrix()
getModelViewMatrix()
public static org.joml.Matrix4fStack
getModelViewStack()
getModelViewStack()
getModelViewStack()
public static org.joml.Matrix4f
getTextureMatrix()
getTextureMatrix()
getTextureMatrix()
public static RenderSystem$AutoStorageIndexBuffer
getSequentialBuffer(VertexFormat$b arg0)
getSequentialBuffer(VertexFormat$Mode arg0)
getSequentialBuffer(VertexFormat$class_5596 arg0)
getSequentialBuffer(VertexFormat$DrawMode drawMode)
getSequentialBuffer(VertexFormat$C_141549_ p_221942_)
public static void
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer globalSettingsUniform)
setGlobalSettingsUniform(GpuBuffer p_410657_)
public static GpuBuffer
getGlobalSettingsUniform()
getGlobalSettingsUniform()
getGlobalSettingsUniform()
public static ProjectionType
getProjectionType()
getProjectionType()
getProjectionType()
public static GpuBuffer
getQuadVertexBuffer()
getQuadVertexBuffer()
getQuadVertexBuffer()
public static void
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float arg0, float arg1, float arg2)
setModelOffset(float offsetX, float offsetY, float offsetZ)
setModelOffset(float p_395251_, float p_397531_, float p_396894_)
public static void
resetModelOffset()
resetModelOffset()
resetModelOffset()
public static org.joml.Vector3f
getModelOffset()
getModelOffset()
getModelOffset()
public static void
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable arg0)
queueFencedTask(Runnable task)
queueFencedTask(Runnable p_396027_)
public static void
executePendingTasks()
executePendingTasks()
executePendingTasks()
public static GpuDevice
getDevice()
getDevice()
getDevice()
public static GpuDevice
tryGetDevice()
tryGetDevice()
tryGetDevice()
public static DynamicUniforms
getDynamicUniforms()
getDynamicUniforms()
getDynamicUniforms()
public static void
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass pass)
bindDefaultUniforms(RenderPass p_408969_)