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