com.mojang.blaze3d.systems

public class RenderSystem

com.mojang.blaze3d.systems.RenderSystem
com.mojang.blaze3d.systems.RenderSystem

Field summary

Modifier and TypeField
static final org.slf4j.Logger
LOGGER
LOGGER
public static final int
MINIMUM_ATLAS_TEXTURE_SIZE
MINIMUM_ATLAS_TEXTURE_SIZE
public static final int
PROJECTION_MATRIX_UBO_SIZE
PROJECTION_MATRIX_UBO_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 ProjectionType
projectionType
projectionType
private static ProjectionType
savedProjectionType
savedProjectionType
private static final org.joml.Matrix4fStack
modelViewStack
modelViewStack
private static org.joml.Matrix4f
textureMatrix
textureMatrix
public static final int
TEXTURE_COUNT
TEXTURE_COUNT
private static final GpuTexture[]
shaderTextures
shaderTextures
private static GpuBufferSlice
shaderFog
shaderFog
private static GpuBufferSlice
shaderLightDirections
shaderLightDirections
private static GpuBufferSlice
projectionMatrixBuffer
projectionMatrixBuffer
private static GpuBufferSlice
savedProjectionMatrixBuffer
savedProjectionMatrixBuffer
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
public static GpuTexture
outputColorTextureOverride
outputColorTextureOverride
public static GpuTexture
outputDepthTextureOverride
outputDepthTextureOverride
private static GpuBuffer
globalSettingsUniform
globalSettingsUniform
private static DynamicUniforms
dynamicUniforms
dynamicUniforms

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, fjk arg1)
flipFrame(long arg0, TracyFrameCapture arg1)
public static void
limitDisplayFPS(int arg0)
limitDisplayFPS(int arg0)
public static void
setShaderFog(GpuBufferSlice arg0)
setShaderFog(GpuBufferSlice arg0)
public static GpuBufferSlice
getShaderFog()
getShaderFog()
public static void
setShaderLights(GpuBufferSlice arg0)
setShaderLights(GpuBufferSlice arg0)
public static GpuBufferSlice
getShaderLights()
getShaderLights()
public static void
lineWidth(float arg0)
lineWidth(float arg0)
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<alw, ShaderType, String> arg3, boolean arg4)
initRenderer(long arg0, int arg1, boolean arg2, BiFunction<ResourceLocation, ShaderType, String> arg3, boolean arg4)
public static void
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
public static void
setupDefaultState()
setupDefaultState()
public static void
setupOverlayColor(GpuTexture arg0)
setupOverlayColor(GpuTexture arg0)
public static void
teardownOverlayColor()
teardownOverlayColor()
public static void
setShaderTexture(int arg0, GpuTexture arg1)
setShaderTexture(int arg0, GpuTexture arg1)
public static GpuTexture
getShaderTexture(int arg0)
getShaderTexture(int arg0)
public static void
setProjectionMatrix(GpuBufferSlice arg0, fji arg1)
setProjectionMatrix(GpuBufferSlice arg0, ProjectionType arg1)
public static void
setTextureMatrix(org.joml.Matrix4f arg0)
setTextureMatrix(org.joml.Matrix4f arg0)
public static void
resetTextureMatrix()
resetTextureMatrix()
public static void
backupProjectionMatrix()
backupProjectionMatrix()
public static void
restoreProjectionMatrix()
restoreProjectionMatrix()
public static GpuBufferSlice
getProjectionMatrixBuffer()
getProjectionMatrixBuffer()
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(VertexFormat$b arg0)
getSequentialBuffer(VertexFormat$Mode arg0)
public static void
setGlobalSettingsUniform(GpuBuffer arg0)
setGlobalSettingsUniform(GpuBuffer arg0)
public static GpuBuffer
getGlobalSettingsUniform()
getGlobalSettingsUniform()
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)
public static void
executePendingTasks()
executePendingTasks()
public static GpuDevice
getDevice()
getDevice()
public static GpuDevice
tryGetDevice()
tryGetDevice()
public static DynamicUniforms
getDynamicUniforms()
getDynamicUniforms()
public static void
bindDefaultUniforms(RenderPass arg0)
bindDefaultUniforms(RenderPass arg0)