com.mojang.blaze3d.platform

public class GlStateManager

com.mojang.blaze3d.platform.GlStateManager
com.mojang.blaze3d.platform.GlStateManager
com.mojang.blaze3d.platform.GlStateManager
com.mojang.blaze3d.platform.GlStateManager

Field summary

Modifier and TypeField
private static final int
LIGHT_COUNT
LIGHT_COUNT
private static final int
TEXTURE_COUNT
TEXTURE_COUNT
private static final FloatBuffer
MATRIX_BUFFER
MATRIX_BUFFER
private static final FloatBuffer
COLOR_BUFFER
COLOR_BUFFER
private static final GlStateManager$AlphaState
ALPHA_TEST
ALPHA_TEST
private static final GlStateManager$BooleanState
LIGHTING
LIGHTING
private static final GlStateManager$BooleanState[]
LIGHT_ENABLE
LIGHT_ENABLE
private static final GlStateManager$ColorMaterialState
COLOR_MATERIAL
COLOR_MATERIAL
private static final GlStateManager$BlendState
BLEND
BLEND
private static final GlStateManager$DepthState
DEPTH
DEPTH
private static final GlStateManager$FogState
FOG
FOG
private static final GlStateManager$CullState
CULL
CULL
private static final GlStateManager$PolygonOffsetState
POLY_OFFSET
POLY_OFFSET
private static final GlStateManager$ColorLogicState
COLOR_LOGIC
COLOR_LOGIC
private static final GlStateManager$TexGenState
TEX_GEN
TEX_GEN
private static final GlStateManager$ClearState
CLEAR
CLEAR
private static final GlStateManager$StencilState
STENCIL
STENCIL
private static final GlStateManager$BooleanState
NORMALIZE
NORMALIZE
private static int
activeTexture
activeTexture
private static final GlStateManager$TextureState[]
TEXTURES
TEXTURES
private static int
shadeModel
shadeModel
private static final GlStateManager$BooleanState
RESCALE_NORMAL
RESCALE_NORMAL
private static final GlStateManager$ColorMask
COLOR_MASK
COLOR_MASK
private static final GlStateManager$Color
COLOR
COLOR
private static final float
DEFAULTALPHACUTOFF
DEFAULTALPHACUTOFF

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
pushLightingAttributes()
pushLightingAttributes()
public static void
pushTextureAttributes()
pushTextureAttributes()
public static void
popAttributes()
popAttributes()
public static void
disableAlphaTest()
disableAlphaTest()
public static void
enableAlphaTest()
enableAlphaTest()
public static void
alphaFunc(int arg0, float arg1)
alphaFunc(int arg0, float arg1)
public static void
enableLighting()
enableLighting()
public static void
disableLighting()
disableLighting()
public static void
enableLight(int arg0)
enableLight(int arg0)
public static void
disableLight(int arg0)
disableLight(int arg0)
public static void
enableColorMaterial()
enableColorMaterial()
public static void
disableColorMaterial()
disableColorMaterial()
public static void
colorMaterial(int arg0, int arg1)
colorMaterial(int arg0, int arg1)
public static void
light(int arg0, int arg1, FloatBuffer arg2)
light(int arg0, int arg1, FloatBuffer arg2)
public static void
lightModel(int arg0, FloatBuffer arg1)
lightModel(int arg0, FloatBuffer arg1)
public static void
normal3f(float arg0, float arg1, float arg2)
normal3f(float arg0, float arg1, float arg2)
public static void
disableDepthTest()
disableDepthTest()
public static void
enableDepthTest()
enableDepthTest()
public static void
depthFunc(int arg0)
depthFunc(int arg0)
public static void
depthMask(boolean arg0)
depthMask(boolean arg0)
public static void
disableBlend()
disableBlend()
public static void
enableBlend()
enableBlend()
public static void
blendFunc(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1)
blendFunc(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1)
public static void
blendFunc(int arg0, int arg1)
blendFunc(int arg0, int arg1)
public static void
blendFuncSeparate(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1, GlStateManager$SourceFactor arg2, GlStateManager$DestFactor arg3)
blendFuncSeparate(GlStateManager$SourceFactor arg0, GlStateManager$DestFactor arg1, GlStateManager$SourceFactor arg2, GlStateManager$DestFactor arg3)
public static void
blendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
blendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
public static void
blendEquation(int arg0)
blendEquation(int arg0)
public static void
setupSolidRenderingTextureCombine(int arg0)
setupSolidRenderingTextureCombine(int arg0)
public static void
tearDownSolidRenderingTextureCombine()
tearDownSolidRenderingTextureCombine()
public static void
enableFog()
enableFog()
public static void
disableFog()
disableFog()
public static void
fogMode(GlStateManager$l arg0)
fogMode(GlStateManager$FogMode arg0)
private static void
fogMode(int arg0)
fogMode(int arg0)
public static void
fogDensity(float arg0)
fogDensity(float arg0)
public static void
fogStart(float arg0)
fogStart(float arg0)
public static void
fogEnd(float arg0)
fogEnd(float arg0)
public static void
fog(int arg0, FloatBuffer arg1)
fog(int arg0, FloatBuffer arg1)
public static void
fogi(int arg0, int arg1)
fogi(int arg0, int arg1)
public static void
enableCull()
enableCull()
public static void
disableCull()
disableCull()
public static void
cullFace(GlStateManager$i arg0)
cullFace(GlStateManager$CullFace arg0)
private static void
cullFace(int arg0)
cullFace(int arg0)
public static void
polygonMode(int arg0, int arg1)
polygonMode(int arg0, int arg1)
public static void
enablePolygonOffset()
enablePolygonOffset()
public static void
disablePolygonOffset()
disablePolygonOffset()
public static void
enableLineOffset()
enableLineOffset()
public static void
disableLineOffset()
disableLineOffset()
public static void
polygonOffset(float arg0, float arg1)
polygonOffset(float arg0, float arg1)
public static void
enableColorLogicOp()
enableColorLogicOp()
public static void
disableColorLogicOp()
disableColorLogicOp()
public static void
logicOp(GlStateManager$n arg0)
logicOp(GlStateManager$LogicOp arg0)
public static void
logicOp(int arg0)
logicOp(int arg0)
public static void
enableTexGen(GlStateManager$s arg0)
enableTexGen(GlStateManager$TexGen arg0)
public static void
disableTexGen(GlStateManager$s arg0)
disableTexGen(GlStateManager$TexGen arg0)
public static void
texGenMode(GlStateManager$s arg0, int arg1)
texGenMode(GlStateManager$TexGen arg0, int arg1)
public static void
texGenParam(GlStateManager$s arg0, int arg1, FloatBuffer arg2)
texGenParam(GlStateManager$TexGen arg0, int arg1, FloatBuffer arg2)
private static GlStateManager$TexGenCoord
getTexGen(GlStateManager$s arg0)
getTexGen(GlStateManager$TexGen arg0)
public static void
activeTexture(int arg0)
activeTexture(int arg0)
public static void
enableTexture()
enableTexture()
public static void
disableTexture()
disableTexture()
public static void
texEnv(int arg0, int arg1, FloatBuffer arg2)
texEnv(int arg0, int arg1, FloatBuffer arg2)
public static void
texEnv(int arg0, int arg1, int arg2)
texEnv(int arg0, int arg1, int arg2)
public static void
texEnv(int arg0, int arg1, float arg2)
texEnv(int arg0, int arg1, float arg2)
public static void
texParameter(int arg0, int arg1, float arg2)
texParameter(int arg0, int arg1, float arg2)
public static void
texParameter(int arg0, int arg1, int arg2)
texParameter(int arg0, int arg1, int arg2)
public static int
getTexLevelParameter(int arg0, int arg1, int arg2)
getTexLevelParameter(int arg0, int arg1, int arg2)
public static int
genTexture()
genTexture()
public static void
deleteTexture(int arg0)
deleteTexture(int arg0)
public static void
bindTexture(int arg0)
bindTexture(int arg0)
public static void
texImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, IntBuffer arg8)
texImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, IntBuffer arg8)
public static void
texSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long arg8)
texSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long arg8)
public static void
copyTexSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
copyTexSubImage2D(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
public static void
getTexImage(int arg0, int arg1, int arg2, int arg3, long arg4)
getTexImage(int arg0, int arg1, int arg2, int arg3, long arg4)
public static void
enableNormalize()
enableNormalize()
public static void
disableNormalize()
disableNormalize()
public static void
shadeModel(int arg0)
shadeModel(int arg0)
public static void
enableRescaleNormal()
enableRescaleNormal()
public static void
disableRescaleNormal()
disableRescaleNormal()
public static void
viewport(int arg0, int arg1, int arg2, int arg3)
viewport(int arg0, int arg1, int arg2, int arg3)
public static void
colorMask(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
colorMask(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
public static void
stencilFunc(int arg0, int arg1, int arg2)
stencilFunc(int arg0, int arg1, int arg2)
public static void
stencilMask(int arg0)
stencilMask(int arg0)
public static void
stencilOp(int arg0, int arg1, int arg2)
stencilOp(int arg0, int arg1, int arg2)
public static void
clearDepth(double arg0)
clearDepth(double arg0)
public static void
clearColor(float arg0, float arg1, float arg2, float arg3)
clearColor(float arg0, float arg1, float arg2, float arg3)
public static void
clearStencil(int arg0)
clearStencil(int arg0)
public static void
clear(int arg0, boolean arg1)
clear(int arg0, boolean arg1)
public static void
matrixMode(int arg0)
matrixMode(int arg0)
public static void
loadIdentity()
loadIdentity()
public static void
pushMatrix()
pushMatrix()
public static void
popMatrix()
popMatrix()
public static void
getMatrix(int arg0, FloatBuffer arg1)
getMatrix(int arg0, FloatBuffer arg1)
public static Matrix4f
getMatrix4f(int arg0)
getMatrix4f(int arg0)
public static void
ortho(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
ortho(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
public static void
rotatef(float arg0, float arg1, float arg2, float arg3)
rotatef(float arg0, float arg1, float arg2, float arg3)
public static void
rotated(double arg0, double arg1, double arg2, double arg3)
rotated(double arg0, double arg1, double arg2, double arg3)
public static void
scalef(float arg0, float arg1, float arg2)
scalef(float arg0, float arg1, float arg2)
public static void
scaled(double arg0, double arg1, double arg2)
scaled(double arg0, double arg1, double arg2)
public static void
translatef(float arg0, float arg1, float arg2)
translatef(float arg0, float arg1, float arg2)
public static void
translated(double arg0, double arg1, double arg2)
translated(double arg0, double arg1, double arg2)
public static void
multMatrix(FloatBuffer arg0)
multMatrix(FloatBuffer arg0)
public static void
multMatrix(cut arg0)
multMatrix(Matrix4f arg0)
public static void
color4f(float arg0, float arg1, float arg2, float arg3)
color4f(float arg0, float arg1, float arg2, float arg3)
public static void
color3f(float arg0, float arg1, float arg2)
color3f(float arg0, float arg1, float arg2)
public static void
texCoord2f(float arg0, float arg1)
texCoord2f(float arg0, float arg1)
public static void
vertex3f(float arg0, float arg1, float arg2)
vertex3f(float arg0, float arg1, float arg2)
public static void
clearCurrentColor()
clearCurrentColor()
public static void
normalPointer(int arg0, int arg1, int arg2)
normalPointer(int arg0, int arg1, int arg2)
public static void
normalPointer(int arg0, int arg1, ByteBuffer arg2)
normalPointer(int arg0, int arg1, ByteBuffer arg2)
public static void
texCoordPointer(int arg0, int arg1, int arg2, int arg3)
texCoordPointer(int arg0, int arg1, int arg2, int arg3)
public static void
texCoordPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
texCoordPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
public static void
vertexPointer(int arg0, int arg1, int arg2, int arg3)
vertexPointer(int arg0, int arg1, int arg2, int arg3)
public static void
vertexPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
vertexPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
public static void
colorPointer(int arg0, int arg1, int arg2, int arg3)
colorPointer(int arg0, int arg1, int arg2, int arg3)
public static void
colorPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
colorPointer(int arg0, int arg1, int arg2, ByteBuffer arg3)
public static void
disableClientState(int arg0)
disableClientState(int arg0)
public static void
enableClientState(int arg0)
enableClientState(int arg0)
public static void
begin(int arg0)
begin(int arg0)
public static void
end()
end()
public static void
drawArrays(int arg0, int arg1, int arg2)
drawArrays(int arg0, int arg1, int arg2)
public static void
lineWidth(float arg0)
lineWidth(float arg0)
public static void
callList(int arg0)
callList(int arg0)
public static void
deleteLists(int arg0, int arg1)
deleteLists(int arg0, int arg1)
public static void
newList(int arg0, int arg1)
newList(int arg0, int arg1)
public static void
endList()
endList()
public static int
genLists(int arg0)
genLists(int arg0)
public static void
pixelStore(int arg0, int arg1)
pixelStore(int arg0, int arg1)
public static void
pixelTransfer(int arg0, float arg1)
pixelTransfer(int arg0, float arg1)
public static void
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, ByteBuffer arg6)
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, ByteBuffer arg6)
public static void
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, long arg6)
readPixels(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, long arg6)
public static int
getError()
getError()
public static String
getString(int arg0)
getString(int arg0)
public static void
getInteger(int arg0, IntBuffer arg1)
getInteger(int arg0, IntBuffer arg1)
public static int
getInteger(int arg0)
getInteger(int arg0)
public static void
setProfile(GlStateManager$p arg0)
setProfile(GlStateManager$Profile arg0)
public static void
unsetProfile(GlStateManager$p arg0)
unsetProfile(GlStateManager$Profile arg0)