Package com.mojang.blaze3d.systems
Class RenderSystem
java.lang.Object
com.mojang.blaze3d.systems.RenderSystem
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
private static Thread
private static boolean
private static boolean
private static double
private static final org.apache.logging.log4j.Logger
private static int
private static final int
private static final ConcurrentLinkedQueue<IRenderCall>
private static final Tessellator
private static Thread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
activeTexture
(int p_activeTexture_0_) static void
alphaFunc
(int p_alphaFunc_0_, float p_alphaFunc_1_) Deprecated.static void
assertThread
(Supplier<Boolean> p_assertThread_0_) static void
static void
bindTexture
(int p_bindTexture_0_) static void
blendColor
(float p_blendColor_0_, float p_blendColor_1_, float p_blendColor_2_, float p_blendColor_3_) static void
blendEquation
(int p_blendEquation_0_) static void
blendFunc
(int p_blendFunc_0_, int p_blendFunc_1_) static void
blendFunc
(GlStateManager.SourceFactor p_blendFunc_0_, GlStateManager.DestFactor p_blendFunc_1_) static void
blendFuncSeparate
(int p_blendFuncSeparate_0_, int p_blendFuncSeparate_1_, int p_blendFuncSeparate_2_, int p_blendFuncSeparate_3_) static void
blendFuncSeparate
(GlStateManager.SourceFactor p_blendFuncSeparate_0_, GlStateManager.DestFactor p_blendFuncSeparate_1_, GlStateManager.SourceFactor p_blendFuncSeparate_2_, GlStateManager.DestFactor p_blendFuncSeparate_3_) static void
clear
(int p_clear_0_, boolean p_clear_1_) static void
clearColor
(float p_clearColor_0_, float p_clearColor_1_, float p_clearColor_2_, float p_clearColor_3_) static void
Deprecated.static void
clearDepth
(double p_clearDepth_0_) static void
clearStencil
(int p_clearStencil_0_) static void
static void
color3f
(float p_color3f_0_, float p_color3f_1_, float p_color3f_2_) Deprecated.static void
color4f
(float p_color4f_0_, float p_color4f_1_, float p_color4f_2_, float p_color4f_3_) Deprecated.static void
colorMask
(boolean p_colorMask_0_, boolean p_colorMask_1_, boolean p_colorMask_2_, boolean p_colorMask_3_) static void
colorMaterial
(int p_colorMaterial_0_, int p_colorMaterial_1_) Deprecated.static void
static void
static void
deleteTexture
(int p_deleteTexture_0_) static void
depthFunc
(int p_depthFunc_0_) static void
depthMask
(boolean p_depthMask_0_) static void
Deprecated.static void
static void
static void
Deprecated.static void
static void
static void
Deprecated.static void
Deprecated.static void
static void
static void
Deprecated.static void
static void
static void
drawArrays
(int p_drawArrays_0_, int p_drawArrays_1_, int p_drawArrays_2_) static void
Deprecated.static void
static void
static void
Deprecated.static void
static void
static void
Deprecated.static void
Deprecated.static void
static void
static void
Deprecated.static void
enableScissor
(int p_enableScissor_0_, int p_enableScissor_1_, int p_enableScissor_2_, int p_enableScissor_3_) static void
static void
static void
flipFrame
(long p_flipFrame_0_) static void
fog
(int p_fog_0_, float p_fog_1_, float p_fog_2_, float p_fog_3_, float p_fog_4_) Deprecated.static void
fogDensity
(float p_fogDensity_0_) Deprecated.static void
fogEnd
(float p_fogEnd_0_) Deprecated.static void
fogi
(int p_fogi_0_, int p_fogi_1_) Deprecated.static void
fogMode
(int p_fogMode_0_) Deprecated.static void
fogMode
(GlStateManager.FogMode p_fogMode_0_) Deprecated.static void
fogStart
(float p_fogStart_0_) Deprecated.static String
static String
static String
static void
static void
glBindBuffer
(int p_glBindBuffer_0_, Supplier<Integer> p_glBindBuffer_1_) static void
glBufferData
(int p_glBufferData_0_, ByteBuffer p_glBufferData_1_, int p_glBufferData_2_) static void
glDeleteBuffers
(int p_glDeleteBuffers_0_) static void
glGenBuffers
(Consumer<Integer> p_glGenBuffers_0_) static void
glMultiTexCoord2f
(int p_glMultiTexCoord2f_0_, float p_glMultiTexCoord2f_1_, float p_glMultiTexCoord2f_2_) Deprecated.static void
glUniform1
(int p_glUniform1_0_, FloatBuffer p_glUniform1_1_) static void
glUniform1
(int p_glUniform1_0_, IntBuffer p_glUniform1_1_) static void
glUniform1i
(int p_glUniform1i_0_, int p_glUniform1i_1_) static void
glUniform2
(int p_glUniform2_0_, FloatBuffer p_glUniform2_1_) static void
glUniform2
(int p_glUniform2_0_, IntBuffer p_glUniform2_1_) static void
glUniform3
(int p_glUniform3_0_, FloatBuffer p_glUniform3_1_) static void
glUniform3
(int p_glUniform3_0_, IntBuffer p_glUniform3_1_) static void
glUniform4
(int p_glUniform4_0_, FloatBuffer p_glUniform4_1_) static void
glUniform4
(int p_glUniform4_0_, IntBuffer p_glUniform4_1_) static void
glUniformMatrix2
(int p_glUniformMatrix2_0_, boolean p_glUniformMatrix2_1_, FloatBuffer p_glUniformMatrix2_2_) static void
glUniformMatrix3
(int p_glUniformMatrix3_0_, boolean p_glUniformMatrix3_1_, FloatBuffer p_glUniformMatrix3_2_) static void
glUniformMatrix4
(int p_glUniformMatrix4_0_, boolean p_glUniformMatrix4_1_, FloatBuffer p_glUniformMatrix4_2_) static LongSupplier
static void
initGameThread
(boolean p_initGameThread_0_) static void
initRenderer
(int p_initRenderer_0_, boolean p_initRenderer_1_) static void
static boolean
static boolean
static boolean
static boolean
static boolean
static void
limitDisplayFPS
(int p_limitDisplayFPS_0_) static void
lineWidth
(float p_lineWidth_0_) static void
Deprecated.static void
logicOp
(GlStateManager.LogicOp p_logicOp_0_) static void
matrixMode
(int p_matrixMode_0_) Deprecated.static int
static void
static void
multMatrix
(Matrix4f p_multMatrix_0_) Deprecated.static void
normal3f
(float p_normal3f_0_, float p_normal3f_1_, float p_normal3f_2_) Deprecated.static void
ortho
(double p_ortho_0_, double p_ortho_2_, double p_ortho_4_, double p_ortho_6_, double p_ortho_8_, double p_ortho_10_) Deprecated.static void
pixelStore
(int p_pixelStore_0_, int p_pixelStore_1_) static void
pixelTransfer
(int p_pixelTransfer_0_, float p_pixelTransfer_1_) static void
polygonMode
(int p_polygonMode_0_, int p_polygonMode_1_) static void
polygonOffset
(float p_polygonOffset_0_, float p_polygonOffset_1_) static void
Deprecated.static void
Deprecated.static void
Deprecated.static void
Deprecated.static void
Deprecated.static void
readPixels
(int p_readPixels_0_, int p_readPixels_1_, int p_readPixels_2_, int p_readPixels_3_, int p_readPixels_4_, int p_readPixels_5_, ByteBuffer p_readPixels_6_) static void
recordRenderCall
(IRenderCall p_recordRenderCall_0_) static void
renderCrosshair
(int p_renderCrosshair_0_) static Tessellator
static void
static void
rotatef
(float p_rotatef_0_, float p_rotatef_1_, float p_rotatef_2_, float p_rotatef_3_) Deprecated.static void
runAsFancy
(Runnable p_runAsFancy_0_) Deprecated.static void
scaled
(double p_scaled_0_, double p_scaled_2_, double p_scaled_4_) Deprecated.static void
scalef
(float p_scalef_0_, float p_scalef_1_, float p_scalef_2_) Deprecated.static void
setErrorCallback
(org.lwjgl.glfw.GLFWErrorCallbackI p_setErrorCallback_0_) static void
setupDefaultState
(int p_setupDefaultState_0_, int p_setupDefaultState_1_, int p_setupDefaultState_2_, int p_setupDefaultState_3_) static void
static void
setupGui3DDiffuseLighting
(Vector3f p_setupGui3DDiffuseLighting_0_, Vector3f p_setupGui3DDiffuseLighting_1_) static void
setupGuiFlatDiffuseLighting
(Vector3f p_setupGuiFlatDiffuseLighting_0_, Vector3f p_setupGuiFlatDiffuseLighting_1_) static void
setupLevelDiffuseLighting
(Vector3f p_setupLevelDiffuseLighting_0_, Vector3f p_setupLevelDiffuseLighting_1_, Matrix4f p_setupLevelDiffuseLighting_2_) static void
static void
static void
setupOverlayColor
(IntSupplier p_setupOverlayColor_0_, int p_setupOverlayColor_1_) static void
shadeModel
(int p_shadeModel_0_) Deprecated.static void
stencilFunc
(int p_stencilFunc_0_, int p_stencilFunc_1_, int p_stencilFunc_2_) static void
stencilMask
(int p_stencilMask_0_) static void
stencilOp
(int p_stencilOp_0_, int p_stencilOp_1_, int p_stencilOp_2_) static void
static void
static void
texParameter
(int p_texParameter_0_, int p_texParameter_1_, int p_texParameter_2_) static void
translated
(double p_translated_0_, double p_translated_2_, double p_translated_4_) Deprecated.static void
translatef
(float p_translatef_0_, float p_translatef_1_, float p_translatef_2_) Deprecated.static void
viewport
(int p_viewport_0_, int p_viewport_1_, int p_viewport_2_, int p_viewport_3_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
recordingQueue
-
RENDER_THREAD_TESSELATOR
-
DEFAULTALPHACUTOFF
public static final float DEFAULTALPHACUTOFF- See Also:
-
MINIMUM_ATLAS_TEXTURE_SIZE
private static final int MINIMUM_ATLAS_TEXTURE_SIZE- See Also:
-
isReplayingQueue
private static boolean isReplayingQueue -
gameThread
-
renderThread
-
MAX_SUPPORTED_TEXTURE_SIZE
private static int MAX_SUPPORTED_TEXTURE_SIZE -
isInInit
private static boolean isInInit -
lastDrawTime
private static double lastDrawTime
-
-
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 p_initGameThread_0_) -
isOnGameThread
public static boolean isOnGameThread() -
isOnGameThreadOrInit
public static boolean isOnGameThreadOrInit() -
assertThread
-
isInInitPhase
public static boolean isInInitPhase() -
recordRenderCall
-
flipFrame
public static void flipFrame(long p_flipFrame_0_) -
replayQueue
public static void replayQueue() -
limitDisplayFPS
public static void limitDisplayFPS(int p_limitDisplayFPS_0_) -
pushLightingAttributes
Deprecated. -
pushTextureAttributes
Deprecated. -
popAttributes
Deprecated. -
disableAlphaTest
Deprecated. -
enableAlphaTest
Deprecated. -
alphaFunc
Deprecated. -
enableLighting
Deprecated. -
disableLighting
Deprecated. -
enableColorMaterial
Deprecated. -
disableColorMaterial
Deprecated. -
colorMaterial
Deprecated. -
normal3f
@Deprecated public static void normal3f(float p_normal3f_0_, float p_normal3f_1_, float p_normal3f_2_) Deprecated. -
disableDepthTest
public static void disableDepthTest() -
enableDepthTest
public static void enableDepthTest() -
enableScissor
public static void enableScissor(int p_enableScissor_0_, int p_enableScissor_1_, int p_enableScissor_2_, int p_enableScissor_3_) -
disableScissor
public static void disableScissor() -
depthFunc
public static void depthFunc(int p_depthFunc_0_) -
depthMask
public static void depthMask(boolean p_depthMask_0_) -
enableBlend
public static void enableBlend() -
disableBlend
public static void disableBlend() -
blendFunc
public static void blendFunc(GlStateManager.SourceFactor p_blendFunc_0_, GlStateManager.DestFactor p_blendFunc_1_) -
blendFunc
public static void blendFunc(int p_blendFunc_0_, int p_blendFunc_1_) -
blendFuncSeparate
public static void blendFuncSeparate(GlStateManager.SourceFactor p_blendFuncSeparate_0_, GlStateManager.DestFactor p_blendFuncSeparate_1_, GlStateManager.SourceFactor p_blendFuncSeparate_2_, GlStateManager.DestFactor p_blendFuncSeparate_3_) -
blendFuncSeparate
public static void blendFuncSeparate(int p_blendFuncSeparate_0_, int p_blendFuncSeparate_1_, int p_blendFuncSeparate_2_, int p_blendFuncSeparate_3_) -
blendEquation
public static void blendEquation(int p_blendEquation_0_) -
blendColor
public static void blendColor(float p_blendColor_0_, float p_blendColor_1_, float p_blendColor_2_, float p_blendColor_3_) -
enableFog
Deprecated. -
disableFog
Deprecated. -
fogMode
Deprecated. -
fogMode
Deprecated. -
fogDensity
Deprecated. -
fogStart
Deprecated. -
fogEnd
Deprecated. -
fog
@Deprecated public static void fog(int p_fog_0_, float p_fog_1_, float p_fog_2_, float p_fog_3_, float p_fog_4_) Deprecated. -
fogi
Deprecated. -
enableCull
public static void enableCull() -
disableCull
public static void disableCull() -
polygonMode
public static void polygonMode(int p_polygonMode_0_, int p_polygonMode_1_) -
enablePolygonOffset
public static void enablePolygonOffset() -
disablePolygonOffset
public static void disablePolygonOffset() -
enableLineOffset
public static void enableLineOffset() -
disableLineOffset
public static void disableLineOffset() -
polygonOffset
public static void polygonOffset(float p_polygonOffset_0_, float p_polygonOffset_1_) -
enableColorLogicOp
public static void enableColorLogicOp() -
disableColorLogicOp
public static void disableColorLogicOp() -
logicOp
-
activeTexture
public static void activeTexture(int p_activeTexture_0_) -
enableTexture
public static void enableTexture() -
disableTexture
public static void disableTexture() -
texParameter
public static void texParameter(int p_texParameter_0_, int p_texParameter_1_, int p_texParameter_2_) -
deleteTexture
public static void deleteTexture(int p_deleteTexture_0_) -
bindTexture
public static void bindTexture(int p_bindTexture_0_) -
shadeModel
Deprecated. -
enableRescaleNormal
Deprecated. -
disableRescaleNormal
Deprecated. -
viewport
public static void viewport(int p_viewport_0_, int p_viewport_1_, int p_viewport_2_, int p_viewport_3_) -
colorMask
public static void colorMask(boolean p_colorMask_0_, boolean p_colorMask_1_, boolean p_colorMask_2_, boolean p_colorMask_3_) -
stencilFunc
public static void stencilFunc(int p_stencilFunc_0_, int p_stencilFunc_1_, int p_stencilFunc_2_) -
stencilMask
public static void stencilMask(int p_stencilMask_0_) -
stencilOp
public static void stencilOp(int p_stencilOp_0_, int p_stencilOp_1_, int p_stencilOp_2_) -
clearDepth
public static void clearDepth(double p_clearDepth_0_) -
clearColor
public static void clearColor(float p_clearColor_0_, float p_clearColor_1_, float p_clearColor_2_, float p_clearColor_3_) -
clearStencil
public static void clearStencil(int p_clearStencil_0_) -
clear
public static void clear(int p_clear_0_, boolean p_clear_1_) -
matrixMode
Deprecated. -
loadIdentity
Deprecated. -
pushMatrix
Deprecated. -
popMatrix
Deprecated. -
ortho
@Deprecated public static void ortho(double p_ortho_0_, double p_ortho_2_, double p_ortho_4_, double p_ortho_6_, double p_ortho_8_, double p_ortho_10_) Deprecated. -
rotatef
@Deprecated public static void rotatef(float p_rotatef_0_, float p_rotatef_1_, float p_rotatef_2_, float p_rotatef_3_) Deprecated. -
scalef
Deprecated. -
scaled
Deprecated. -
translatef
@Deprecated public static void translatef(float p_translatef_0_, float p_translatef_1_, float p_translatef_2_) Deprecated. -
translated
@Deprecated public static void translated(double p_translated_0_, double p_translated_2_, double p_translated_4_) Deprecated. -
multMatrix
Deprecated. -
color4f
@Deprecated public static void color4f(float p_color4f_0_, float p_color4f_1_, float p_color4f_2_, float p_color4f_3_) Deprecated. -
color3f
Deprecated. -
clearCurrentColor
Deprecated. -
drawArrays
public static void drawArrays(int p_drawArrays_0_, int p_drawArrays_1_, int p_drawArrays_2_) -
lineWidth
public static void lineWidth(float p_lineWidth_0_) -
pixelStore
public static void pixelStore(int p_pixelStore_0_, int p_pixelStore_1_) -
pixelTransfer
public static void pixelTransfer(int p_pixelTransfer_0_, float p_pixelTransfer_1_) -
readPixels
public static void readPixels(int p_readPixels_0_, int p_readPixels_1_, int p_readPixels_2_, int p_readPixels_3_, int p_readPixels_4_, int p_readPixels_5_, ByteBuffer p_readPixels_6_) -
getString
-
getBackendDescription
-
getApiDescription
-
initBackendSystem
-
initRenderer
public static void initRenderer(int p_initRenderer_0_, boolean p_initRenderer_1_) -
setErrorCallback
public static void setErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI p_setErrorCallback_0_) -
renderCrosshair
public static void renderCrosshair(int p_renderCrosshair_0_) -
setupNvFogDistance
public static void setupNvFogDistance() -
glMultiTexCoord2f
@Deprecated public static void glMultiTexCoord2f(int p_glMultiTexCoord2f_0_, float p_glMultiTexCoord2f_1_, float p_glMultiTexCoord2f_2_) Deprecated. -
getCapsString
-
setupDefaultState
public static void setupDefaultState(int p_setupDefaultState_0_, int p_setupDefaultState_1_, int p_setupDefaultState_2_, int p_setupDefaultState_3_) -
maxSupportedTextureSize
public static int maxSupportedTextureSize() -
glBindBuffer
-
glBufferData
public static void glBufferData(int p_glBufferData_0_, ByteBuffer p_glBufferData_1_, int p_glBufferData_2_) -
glDeleteBuffers
public static void glDeleteBuffers(int p_glDeleteBuffers_0_) -
glUniform1i
public static void glUniform1i(int p_glUniform1i_0_, int p_glUniform1i_1_) -
glUniform1
-
glUniform2
-
glUniform3
-
glUniform4
-
glUniform1
-
glUniform2
-
glUniform3
-
glUniform4
-
glUniformMatrix2
public static void glUniformMatrix2(int p_glUniformMatrix2_0_, boolean p_glUniformMatrix2_1_, FloatBuffer p_glUniformMatrix2_2_) -
glUniformMatrix3
public static void glUniformMatrix3(int p_glUniformMatrix3_0_, boolean p_glUniformMatrix3_1_, FloatBuffer p_glUniformMatrix3_2_) -
glUniformMatrix4
public static void glUniformMatrix4(int p_glUniformMatrix4_0_, boolean p_glUniformMatrix4_1_, FloatBuffer p_glUniformMatrix4_2_) -
setupOutline
public static void setupOutline() -
teardownOutline
public static void teardownOutline() -
setupOverlayColor
public static void setupOverlayColor(IntSupplier p_setupOverlayColor_0_, int p_setupOverlayColor_1_) -
teardownOverlayColor
public static void teardownOverlayColor() -
setupLevelDiffuseLighting
-
setupGuiFlatDiffuseLighting
-
setupGui3DDiffuseLighting
-
mulTextureByProjModelView
public static void mulTextureByProjModelView() -
setupEndPortalTexGen
public static void setupEndPortalTexGen() -
clearTexGen
public static void clearTexGen() -
beginInitialization
public static void beginInitialization() -
finishInitialization
public static void finishInitialization() -
glGenBuffers
-
renderThreadTesselator
-
defaultBlendFunc
public static void defaultBlendFunc() -
defaultAlphaFunc
public static void defaultAlphaFunc() -
runAsFancy
Deprecated.
-