Package com.mojang.blaze3d.platform
Class GlStateManager
java.lang.Object
com.mojang.blaze3d.platform.GlStateManager
@Environment(CLIENT) public class GlStateManager extends Object
Allows calling the static methods in
GL11 without actually touching it- Mappings:
Namespace Name official bflintermediary net/minecraft/class_1013named com/mojang/blaze3d/platform/GlStateManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGlStateManager.AlphaTestState(package private) static classGlStateManager.BlendFuncState(package private) static classGlStateManager.BooleanState(package private) static classGlStateManager.ClearState(package private) static classGlStateManager.Color4(package private) static classGlStateManager.ColorMask(package private) static classGlStateManager.ColorMaterialState(package private) static classGlStateManager.CullFaceState(package private) static classGlStateManager.DepthTestState(package private) static classGlStateManager.FogState(package private) static classGlStateManager.LogicOpState(package private) static classGlStateManager.PolygonOffsetState(package private) static classGlStateManager.StencilState(package private) static classGlStateManager.StencilSubStatestatic classGlStateManager.TexCoord(package private) static classGlStateManager.TexGenCoordState(package private) static classGlStateManager.TexGenState(package private) static classGlStateManager.Texture2DState -
Field Summary
Fields Modifier and Type Field Description private static intactiveTextureStores the currently active textureprivate static GlStateManager.AlphaTestStateALPHA_TESTStores the alpha test stateprivate static GlStateManager.BlendFuncStateBLENDStores the blend stateprivate static GlStateManager.ClearStateCLEARStores the color clear stateprivate static GlStateManager.Color4COLORStores the color state in rgbaprivate static GlStateManager.LogicOpStateCOLOR_LOGICStores the color logic stateprivate static GlStateManager.ColorMaskCOLOR_MASKStores the color mask stateprivate static GlStateManager.ColorMaterialStateCOLOR_MATERIALStores the color material stateprivate static GlStateManager.CullFaceStateCULLStores the cull stateprivate static GlStateManager.DepthTestStateDEPTHStores the depth testing stateprivate static GlStateManager.FogStateFOGStores the fog stateprivate static GlStateManager.BooleanStateLIGHTINGStores the lighting stateprivate static GlStateManager.BooleanState[]LIGHTING_STATESStores all lighting states in an arrayprivate static intmodelShadeModeStores the shading modeprivate static GlStateManager.BooleanStateNORMALIZEStores the normalization stateprivate static GlStateManager.PolygonOffsetStatePOLY_OFFSETStores the polygon offset stateprivate static GlStateManager.BooleanStateRESCALE_NORMALStores the normal rescale stateprivate static GlStateManager.StencilStateSTENCILStores the stencil stateprivate static GlStateManager.TexGenStateTEX_GENStores the texture coordinate generation stateprivate static GlStateManager.Texture2DState[]TEXTURESStores all texture states in an array -
Constructor Summary
Constructors Constructor Description GlStateManager() -
Method Summary
Modifier and Type Method Description static voidactiveTexture(int texture)Sets the active texture unitstatic voidalphaFunc(int func, float ref)Sets the alpha test functionstatic voidbindTexture(int texture)Binds a certain specified texture to a texturing targetstatic voidblendFunc(int srcFactor, int dstFactor)Sets pixel arithmeticstatic voidblendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)Sets pixel arithmetic for RGB and alpha components separatelystatic voidcallList(int listId)Executes a display liststatic voidclear(int mode)Clears buffers to preset valuesstatic voidclearColor()Clears the current colorstatic voidclearColor(float red, float green, float blue, float alpha)Sets clear values for the color buffersstatic voidclearDepth(double depth)Sets the clear value for the depth bufferstatic voidcolor3f(float red, float green, float blue)Sets the current color without alphastatic voidcolor4f(float red, float green, float blue, float alpha)Sets the current colorstatic voidcolorMask(boolean red, boolean green, boolean blue, boolean alpha)Enables or Disables writing of frame buffer color componentsstatic voidcolorMaterial(int face, int mode)Causes a material color to track the current colorstatic voidcullFace(int mode)Sets whether front- or back-facing facets can be culledstatic voiddeleteTexture(int texture)Deletes a certain specified texturestatic voiddepthFunc(int func)Sets the value used for depth buffer comparisonsstatic voiddepthMask(boolean mask)Enables or disables writing into the depth bufferstatic voiddisableAlphaTest()Disables alpha testingstatic voiddisableBlend()Enables implementing transparency within objectsstatic voiddisableColorLogic()Disables color index renderingstatic voiddisableColorMaterial()Disables tracking of the current color by the material colorstatic voiddisableCull()Disables Cullingstatic voiddisableDepthTest()Disables depth testingstatic voiddisableFog()Disables fogstatic voiddisableLight(int index)Disables lighting for a certain elementstatic voiddisableLighting()Disables lightingstatic voiddisableNormalize()Disables Normalizestatic voiddisablePolyOffset()Disables Polygon offsetstatic voiddisableRescaleNormal()Disables rescalestatic voiddisableTexCoord(GlStateManager.TexCoord coord)Disables the generation of texture coordinatesstatic voiddisableTexture()Disables active texture unitsstatic voidenableAlphaTest()Enables alpha testingstatic voidenableBlend()Disables implementing transparency within objectsstatic voidenableColorLogic()Enables color index renderingstatic voidenableColorMaterial()Enables tracking of the current color by the material colorstatic voidenableCull()Enables cullingstatic voidenableDepthTest()Enables depth testingstatic voidenableFog()Enabled fogstatic voidenableLight(int index)Enables lighting for a certain elementstatic voidenableLighting()Enables lightingstatic voidenableNormalize()Enables normalizestatic voidenablePolyOffset()Enables Polygon Offsetstatic voidenableRescaleNormal()Enables rescalestatic voidenableTexCoord(GlStateManager.TexCoord coord)Enables the generation of texture coordinatesstatic voidenableTexture()Enables active texture unitsstatic voidfogDensity(float density)Sets fog parametersstatic voidfogEnd(float end)Sets fog parametersstatic voidfogMode(int mode)Sets fog parametersstatic voidfogStart(float start)Sets fog parametersstatic voidgenTex(GlStateManager.TexCoord coord, int mode)Allows controlling the generation of texture coordinatesstatic voidgenTex(GlStateManager.TexCoord coord, int mode, FloatBuffer buffer)Allows controling the generation of texture coordinates with a float bufferstatic voidgetFloat(int mode, FloatBuffer buffer)Gets a float for a float bufferprivate static GlStateManager.TexGenCoordStategetGenCoordState(GlStateManager.TexCoord coord)Retrieves texture coordinate generation statestatic intgetTexLevelParameter()Generates texture namesstatic voidloadIdentity()Replaces the current matrix with the identity matrixstatic voidlogicOp(int op)Sets a logical pixel operation for color index renderingstatic voidmatrixMode(int mode)Allows specifying which matrix is the current matrixstatic voidmultiMatrix(FloatBuffer buffer)Multiplies the current matrix with the specified matrixstatic voidortho(double l, double r, double b, double t, double n, double f)Multiplies the current matrix with an orthographic matrixstatic voidpolygonOffset(float factor, float units)Sets the scale and units used to calculate depth valuesstatic voidpopAttributes()Pops the attribute stackstatic voidpopMatrix()Pops the current matrix stackstatic voidpushLightingAttributes()Pushes the attribute stackstatic voidpushMatrix()Pushes the current matrix stackstatic voidrotatef(float angle, float x, float y, float z)Multiplies the current matrix by a rotation matrixstatic voidscaled(double x, double y, double z)Multiplies the current matrix by a general scaling matrixstatic voidscalef(float x, float y, float z)Multiplies the current matrix by a general scaling matrixstatic voidshadeModel(int mode)Sets shading mode as flat or smoothstatic voidtranslated(double x, double y, double z)Multiplies the current matrix by a translation matrixstatic voidtranslatef(float x, float y, float z)Multiplies the current matrix by a translation matrixstatic voidviewPort(int x, int y, int width, int height)Sets the viewport
-
Field Details
-
ALPHA_TEST
Stores the alpha test state- Mappings:
Namespace Name Mixin selector official aLbfl;a:Lbfl$a;intermediary field_4311Lnet/minecraft/class_1013;field_4311:Lnet/minecraft/class_1013$class_1014;named ALPHA_TESTLcom/mojang/blaze3d/platform/GlStateManager;ALPHA_TEST:Lcom/mojang/blaze3d/platform/GlStateManager$AlphaTestState;
-
LIGHTING
Stores the lighting state- Mappings:
Namespace Name Mixin selector official bLbfl;b:Lbfl$c;intermediary field_4312Lnet/minecraft/class_1013;field_4312:Lnet/minecraft/class_1013$class_1016;named LIGHTINGLcom/mojang/blaze3d/platform/GlStateManager;LIGHTING:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
-
LIGHTING_STATES
Stores all lighting states in an array- Mappings:
Namespace Name Mixin selector official cLbfl;c:[Lbfl$c;intermediary field_4313Lnet/minecraft/class_1013;field_4313:[Lnet/minecraft/class_1013$class_1016;named LIGHTING_STATESLcom/mojang/blaze3d/platform/GlStateManager;LIGHTING_STATES:[Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
-
COLOR_MATERIAL
Stores the color material state- Mappings:
Namespace Name Mixin selector official dLbfl;d:Lbfl$h;intermediary field_4314Lnet/minecraft/class_1013;field_4314:Lnet/minecraft/class_1013$class_1021;named COLOR_MATERIALLcom/mojang/blaze3d/platform/GlStateManager;COLOR_MATERIAL:Lcom/mojang/blaze3d/platform/GlStateManager$ColorMaterialState;
-
BLEND
Stores the blend state- Mappings:
Namespace Name Mixin selector official eLbfl;e:Lbfl$b;intermediary field_4315Lnet/minecraft/class_1013;field_4315:Lnet/minecraft/class_1013$class_1015;named BLENDLcom/mojang/blaze3d/platform/GlStateManager;BLEND:Lcom/mojang/blaze3d/platform/GlStateManager$BlendFuncState;
-
DEPTH
Stores the depth testing state- Mappings:
Namespace Name Mixin selector official fLbfl;f:Lbfl$j;intermediary field_4316Lnet/minecraft/class_1013;field_4316:Lnet/minecraft/class_1013$class_1023;named DEPTHLcom/mojang/blaze3d/platform/GlStateManager;DEPTH:Lcom/mojang/blaze3d/platform/GlStateManager$DepthTestState;
-
FOG
Stores the fog state- Mappings:
Namespace Name Mixin selector official gLbfl;g:Lbfl$k;intermediary field_4317Lnet/minecraft/class_1013;field_4317:Lnet/minecraft/class_1013$class_1024;named FOGLcom/mojang/blaze3d/platform/GlStateManager;FOG:Lcom/mojang/blaze3d/platform/GlStateManager$FogState;
-
CULL
Stores the cull state- Mappings:
Namespace Name Mixin selector official hLbfl;h:Lbfl$i;intermediary field_4318Lnet/minecraft/class_1013;field_4318:Lnet/minecraft/class_1013$class_1022;named CULLLcom/mojang/blaze3d/platform/GlStateManager;CULL:Lcom/mojang/blaze3d/platform/GlStateManager$CullFaceState;
-
POLY_OFFSET
Stores the polygon offset state- Mappings:
Namespace Name Mixin selector official iLbfl;i:Lbfl$l;intermediary field_4319Lnet/minecraft/class_1013;field_4319:Lnet/minecraft/class_1013$class_1025;named POLY_OFFSETLcom/mojang/blaze3d/platform/GlStateManager;POLY_OFFSET:Lcom/mojang/blaze3d/platform/GlStateManager$PolygonOffsetState;
-
COLOR_LOGIC
Stores the color logic state- Mappings:
Namespace Name Mixin selector official jLbfl;j:Lbfl$f;intermediary field_4320Lnet/minecraft/class_1013;field_4320:Lnet/minecraft/class_1013$class_1019;named COLOR_LOGICLcom/mojang/blaze3d/platform/GlStateManager;COLOR_LOGIC:Lcom/mojang/blaze3d/platform/GlStateManager$LogicOpState;
-
TEX_GEN
Stores the texture coordinate generation state- Mappings:
Namespace Name Mixin selector official kLbfl;k:Lbfl$q;intermediary field_4321Lnet/minecraft/class_1013;field_4321:Lnet/minecraft/class_1013$class_1030;named TEX_GENLcom/mojang/blaze3d/platform/GlStateManager;TEX_GEN:Lcom/mojang/blaze3d/platform/GlStateManager$TexGenState;
-
CLEAR
Stores the color clear state- Mappings:
Namespace Name Mixin selector official lLbfl;l:Lbfl$d;intermediary field_4322Lnet/minecraft/class_1013;field_4322:Lnet/minecraft/class_1013$class_1017;named CLEARLcom/mojang/blaze3d/platform/GlStateManager;CLEAR:Lcom/mojang/blaze3d/platform/GlStateManager$ClearState;
-
STENCIL
Stores the stencil state- Mappings:
Namespace Name Mixin selector official mLbfl;m:Lbfl$n;intermediary field_4323Lnet/minecraft/class_1013;field_4323:Lnet/minecraft/class_1013$class_1027;named STENCILLcom/mojang/blaze3d/platform/GlStateManager;STENCIL:Lcom/mojang/blaze3d/platform/GlStateManager$StencilState;
-
NORMALIZE
Stores the normalization state- Mappings:
Namespace Name Mixin selector official nLbfl;n:Lbfl$c;intermediary field_4324Lnet/minecraft/class_1013;field_4324:Lnet/minecraft/class_1013$class_1016;named NORMALIZELcom/mojang/blaze3d/platform/GlStateManager;NORMALIZE:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
-
activeTexture
private static int activeTextureStores the currently active texture- Mappings:
Namespace Name Mixin selector official oLbfl;o:Iintermediary field_4325Lnet/minecraft/class_1013;field_4325:Inamed activeTextureLcom/mojang/blaze3d/platform/GlStateManager;activeTexture:I
-
TEXTURES
Stores all texture states in an array- Mappings:
Namespace Name Mixin selector official pLbfl;p:[Lbfl$r;intermediary field_4326Lnet/minecraft/class_1013;field_4326:[Lnet/minecraft/class_1013$class_1031;named TEXTURESLcom/mojang/blaze3d/platform/GlStateManager;TEXTURES:[Lcom/mojang/blaze3d/platform/GlStateManager$Texture2DState;
-
modelShadeMode
private static int modelShadeModeStores the shading mode- Mappings:
Namespace Name Mixin selector official qLbfl;q:Iintermediary field_4327Lnet/minecraft/class_1013;field_4327:Inamed modelShadeModeLcom/mojang/blaze3d/platform/GlStateManager;modelShadeMode:I
-
RESCALE_NORMAL
Stores the normal rescale state- Mappings:
Namespace Name Mixin selector official rLbfl;r:Lbfl$c;intermediary field_4328Lnet/minecraft/class_1013;field_4328:Lnet/minecraft/class_1013$class_1016;named RESCALE_NORMALLcom/mojang/blaze3d/platform/GlStateManager;RESCALE_NORMAL:Lcom/mojang/blaze3d/platform/GlStateManager$BooleanState;
-
COLOR_MASK
Stores the color mask state- Mappings:
Namespace Name Mixin selector official sLbfl;s:Lbfl$g;intermediary field_4329Lnet/minecraft/class_1013;field_4329:Lnet/minecraft/class_1013$class_1020;named COLOR_MASKLcom/mojang/blaze3d/platform/GlStateManager;COLOR_MASK:Lcom/mojang/blaze3d/platform/GlStateManager$ColorMask;
-
COLOR
Stores the color state in rgba- Mappings:
Namespace Name Mixin selector official tLbfl;t:Lbfl$e;intermediary field_4330Lnet/minecraft/class_1013;field_4330:Lnet/minecraft/class_1013$class_1018;named COLORLcom/mojang/blaze3d/platform/GlStateManager;COLOR:Lcom/mojang/blaze3d/platform/GlStateManager$Color4;
-
-
Constructor Details
-
GlStateManager
public GlStateManager()
-
-
Method Details
-
pushLightingAttributes
public static void pushLightingAttributes()Pushes the attribute stack- Mappings:
Namespace Name Mixin selector official aLbfl;a()Vintermediary method_3400Lnet/minecraft/class_1013;method_3400()Vnamed pushLightingAttributesLcom/mojang/blaze3d/platform/GlStateManager;pushLightingAttributes()V
-
popAttributes
public static void popAttributes()Pops the attribute stack- Mappings:
Namespace Name Mixin selector official bLbfl;b()Vintermediary method_3419Lnet/minecraft/class_1013;method_3419()Vnamed popAttributesLcom/mojang/blaze3d/platform/GlStateManager;popAttributes()V
-
disableAlphaTest
public static void disableAlphaTest()Disables alpha testing- Mappings:
Namespace Name Mixin selector official cLbfl;c()Vintermediary method_3428Lnet/minecraft/class_1013;method_3428()Vnamed disableAlphaTestLcom/mojang/blaze3d/platform/GlStateManager;disableAlphaTest()V
-
enableAlphaTest
public static void enableAlphaTest()Enables alpha testing- Mappings:
Namespace Name Mixin selector official dLbfl;d()Vintermediary method_3434Lnet/minecraft/class_1013;method_3434()Vnamed enableAlphaTestLcom/mojang/blaze3d/platform/GlStateManager;enableAlphaTest()V
-
alphaFunc
public static void alphaFunc(int func, float ref)Sets the alpha test function- Mappings:
Namespace Name Mixin selector official aLbfl;a(IF)Vintermediary method_3409Lnet/minecraft/class_1013;method_3409(IF)Vnamed alphaFuncLcom/mojang/blaze3d/platform/GlStateManager;alphaFunc(IF)V
-
enableLighting
public static void enableLighting()Enables lighting- Mappings:
Namespace Name Mixin selector official eLbfl;e()Vintermediary method_3436Lnet/minecraft/class_1013;method_3436()Vnamed enableLightingLcom/mojang/blaze3d/platform/GlStateManager;enableLighting()V
-
disableLighting
public static void disableLighting()Disables lighting- Mappings:
Namespace Name Mixin selector official fLbfl;f()Vintermediary method_3438Lnet/minecraft/class_1013;method_3438()Vnamed disableLightingLcom/mojang/blaze3d/platform/GlStateManager;disableLighting()V
-
enableLight
public static void enableLight(int index)Enables lighting for a certain element- Mappings:
Namespace Name Mixin selector official aLbfl;a(I)Vintermediary method_3408Lnet/minecraft/class_1013;method_3408(I)Vnamed enableLightLcom/mojang/blaze3d/platform/GlStateManager;enableLight(I)V
-
disableLight
public static void disableLight(int index)Disables lighting for a certain element- Mappings:
Namespace Name Mixin selector official bLbfl;b(I)Vintermediary method_3424Lnet/minecraft/class_1013;method_3424(I)Vnamed disableLightLcom/mojang/blaze3d/platform/GlStateManager;disableLight(I)V
-
enableColorMaterial
public static void enableColorMaterial()Enables tracking of the current color by the material color- Mappings:
Namespace Name Mixin selector official gLbfl;g()Vintermediary method_3440Lnet/minecraft/class_1013;method_3440()Vnamed enableColorMaterialLcom/mojang/blaze3d/platform/GlStateManager;enableColorMaterial()V
-
disableColorMaterial
public static void disableColorMaterial()Disables tracking of the current color by the material color- Mappings:
Namespace Name Mixin selector official hLbfl;h()Vintermediary method_3442Lnet/minecraft/class_1013;method_3442()Vnamed disableColorMaterialLcom/mojang/blaze3d/platform/GlStateManager;disableColorMaterial()V
-
colorMaterial
public static void colorMaterial(int face, int mode)Causes a material color to track the current color- Mappings:
Namespace Name Mixin selector official aLbfl;a(II)Vintermediary method_3410Lnet/minecraft/class_1013;method_3410(II)Vnamed colorMaterialLcom/mojang/blaze3d/platform/GlStateManager;colorMaterial(II)V
-
disableDepthTest
public static void disableDepthTest()Disables depth testing- Mappings:
Namespace Name Mixin selector official iLbfl;i()Vintermediary method_3444Lnet/minecraft/class_1013;method_3444()Vnamed disableDepthTestLcom/mojang/blaze3d/platform/GlStateManager;disableDepthTest()V
-
enableDepthTest
public static void enableDepthTest()Enables depth testing- Mappings:
Namespace Name Mixin selector official jLbfl;j()Vintermediary method_3446Lnet/minecraft/class_1013;method_3446()Vnamed enableDepthTestLcom/mojang/blaze3d/platform/GlStateManager;enableDepthTest()V
-
depthFunc
public static void depthFunc(int func)Sets the value used for depth buffer comparisons- Mappings:
Namespace Name Mixin selector official cLbfl;c(I)Vintermediary method_3432Lnet/minecraft/class_1013;method_3432(I)Vnamed depthFuncLcom/mojang/blaze3d/platform/GlStateManager;depthFunc(I)V
-
depthMask
public static void depthMask(boolean mask)Enables or disables writing into the depth buffer- Mappings:
Namespace Name Mixin selector official aLbfl;a(Z)Vintermediary method_3417Lnet/minecraft/class_1013;method_3417(Z)Vnamed depthMaskLcom/mojang/blaze3d/platform/GlStateManager;depthMask(Z)V
-
disableBlend
public static void disableBlend()Enables implementing transparency within objects- Mappings:
Namespace Name Mixin selector official kLbfl;k()Vintermediary method_3448Lnet/minecraft/class_1013;method_3448()Vnamed disableBlendLcom/mojang/blaze3d/platform/GlStateManager;disableBlend()V
-
enableBlend
public static void enableBlend()Disables implementing transparency within objects- Mappings:
Namespace Name Mixin selector official lLbfl;l()Vintermediary method_3449Lnet/minecraft/class_1013;method_3449()Vnamed enableBlendLcom/mojang/blaze3d/platform/GlStateManager;enableBlend()V
-
blendFunc
public static void blendFunc(int srcFactor, int dstFactor)Sets pixel arithmetic- Mappings:
Namespace Name Mixin selector official bLbfl;b(II)Vintermediary method_3425Lnet/minecraft/class_1013;method_3425(II)Vnamed blendFuncLcom/mojang/blaze3d/platform/GlStateManager;blendFunc(II)V
-
blendFuncSeparate
public static void blendFuncSeparate(int srcFactorRGB, int dstFactorRGB, int srcFactorAlpha, int dstFactorAlpha)Sets pixel arithmetic for RGB and alpha components separately- Mappings:
Namespace Name Mixin selector official aLbfl;a(IIII)Vintermediary method_3411Lnet/minecraft/class_1013;method_3411(IIII)Vnamed blendFuncSeparateLcom/mojang/blaze3d/platform/GlStateManager;blendFuncSeparate(IIII)V
-
enableFog
public static void enableFog()Enabled fog- Mappings:
Namespace Name Mixin selector official mLbfl;m()Vintermediary method_3450Lnet/minecraft/class_1013;method_3450()Vnamed enableFogLcom/mojang/blaze3d/platform/GlStateManager;enableFog()V
-
disableFog
public static void disableFog()Disables fog- Mappings:
Namespace Name Mixin selector official nLbfl;n()Vintermediary method_3452Lnet/minecraft/class_1013;method_3452()Vnamed disableFogLcom/mojang/blaze3d/platform/GlStateManager;disableFog()V
-
fogMode
public static void fogMode(int mode)Sets fog parameters- Mappings:
Namespace Name Mixin selector official dLbfl;d(I)Vintermediary method_3435Lnet/minecraft/class_1013;method_3435(I)Vnamed fogModeLcom/mojang/blaze3d/platform/GlStateManager;fogMode(I)V
-
fogDensity
public static void fogDensity(float density)Sets fog parameters- Mappings:
Namespace Name Mixin selector official aLbfl;a(F)Vintermediary method_3404Lnet/minecraft/class_1013;method_3404(F)Vnamed fogDensityLcom/mojang/blaze3d/platform/GlStateManager;fogDensity(F)V
-
fogStart
public static void fogStart(float start)Sets fog parameters- Mappings:
Namespace Name Mixin selector official bLbfl;b(F)Vintermediary method_3421Lnet/minecraft/class_1013;method_3421(F)Vnamed fogStartLcom/mojang/blaze3d/platform/GlStateManager;fogStart(F)V
-
fogEnd
public static void fogEnd(float end)Sets fog parameters- Mappings:
Namespace Name Mixin selector official cLbfl;c(F)Vintermediary method_3429Lnet/minecraft/class_1013;method_3429(F)Vnamed fogEndLcom/mojang/blaze3d/platform/GlStateManager;fogEnd(F)V
-
enableCull
public static void enableCull()Enables culling- Mappings:
Namespace Name Mixin selector official oLbfl;o()Vintermediary method_3454Lnet/minecraft/class_1013;method_3454()Vnamed enableCullLcom/mojang/blaze3d/platform/GlStateManager;enableCull()V
-
disableCull
public static void disableCull()Disables Culling- Mappings:
Namespace Name Mixin selector official pLbfl;p()Vintermediary method_3456Lnet/minecraft/class_1013;method_3456()Vnamed disableCullLcom/mojang/blaze3d/platform/GlStateManager;disableCull()V
-
cullFace
public static void cullFace(int mode)Sets whether front- or back-facing facets can be culled- Mappings:
Namespace Name Mixin selector official eLbfl;e(I)Vintermediary method_3437Lnet/minecraft/class_1013;method_3437(I)Vnamed cullFaceLcom/mojang/blaze3d/platform/GlStateManager;cullFace(I)V
-
enablePolyOffset
public static void enablePolyOffset()Enables Polygon Offset- Mappings:
Namespace Name Mixin selector official qLbfl;q()Vintermediary method_3457Lnet/minecraft/class_1013;method_3457()Vnamed enablePolyOffsetLcom/mojang/blaze3d/platform/GlStateManager;enablePolyOffset()V
-
disablePolyOffset
public static void disablePolyOffset()Disables Polygon offset- Mappings:
Namespace Name Mixin selector official rLbfl;r()Vintermediary method_3458Lnet/minecraft/class_1013;method_3458()Vnamed disablePolyOffsetLcom/mojang/blaze3d/platform/GlStateManager;disablePolyOffset()V
-
polygonOffset
public static void polygonOffset(float factor, float units)Sets the scale and units used to calculate depth values- Mappings:
Namespace Name Mixin selector official aLbfl;a(FF)Vintermediary method_3405Lnet/minecraft/class_1013;method_3405(FF)Vnamed polygonOffsetLcom/mojang/blaze3d/platform/GlStateManager;polygonOffset(FF)V
-
enableColorLogic
public static void enableColorLogic()Enables color index rendering- Mappings:
Namespace Name Mixin selector official uLbfl;u()Vintermediary method_3459Lnet/minecraft/class_1013;method_3459()Vnamed enableColorLogicLcom/mojang/blaze3d/platform/GlStateManager;enableColorLogic()V
-
disableColorLogic
public static void disableColorLogic()Disables color index rendering- Mappings:
Namespace Name Mixin selector official vLbfl;v()Vintermediary method_3460Lnet/minecraft/class_1013;method_3460()Vnamed disableColorLogicLcom/mojang/blaze3d/platform/GlStateManager;disableColorLogic()V
-
logicOp
public static void logicOp(int op)Sets a logical pixel operation for color index rendering- Mappings:
Namespace Name Mixin selector official fLbfl;f(I)Vintermediary method_3439Lnet/minecraft/class_1013;method_3439(I)Vnamed logicOpLcom/mojang/blaze3d/platform/GlStateManager;logicOp(I)V
-
enableTexCoord
Enables the generation of texture coordinates- Mappings:
Namespace Name Mixin selector official aLbfl;a(Lbfl$o;)Vintermediary method_3413Lnet/minecraft/class_1013;method_3413(Lnet/minecraft/class_1013$class_1028;)Vnamed enableTexCoordLcom/mojang/blaze3d/platform/GlStateManager;enableTexCoord(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)V
-
disableTexCoord
Disables the generation of texture coordinates- Mappings:
Namespace Name Mixin selector official bLbfl;b(Lbfl$o;)Vintermediary method_3427Lnet/minecraft/class_1013;method_3427(Lnet/minecraft/class_1013$class_1028;)Vnamed disableTexCoordLcom/mojang/blaze3d/platform/GlStateManager;disableTexCoord(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)V
-
genTex
Allows controlling the generation of texture coordinates- Mappings:
Namespace Name Mixin selector official aLbfl;a(Lbfl$o;I)Vintermediary method_3414Lnet/minecraft/class_1013;method_3414(Lnet/minecraft/class_1013$class_1028;I)Vnamed genTexLcom/mojang/blaze3d/platform/GlStateManager;genTex(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;I)V
-
genTex
Allows controling the generation of texture coordinates with a float buffer- Mappings:
Namespace Name Mixin selector official aLbfl;a(Lbfl$o;ILjava/nio/FloatBuffer;)Vintermediary method_3415Lnet/minecraft/class_1013;method_3415(Lnet/minecraft/class_1013$class_1028;ILjava/nio/FloatBuffer;)Vnamed genTexLcom/mojang/blaze3d/platform/GlStateManager;genTex(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;ILjava/nio/FloatBuffer;)V
-
getGenCoordState
Retrieves texture coordinate generation state- Mappings:
Namespace Name Mixin selector official cLbfl;c(Lbfl$o;)Lbfl$p;intermediary method_3433Lnet/minecraft/class_1013;method_3433(Lnet/minecraft/class_1013$class_1028;)Lnet/minecraft/class_1013$class_1029;named getGenCoordStateLcom/mojang/blaze3d/platform/GlStateManager;getGenCoordState(Lcom/mojang/blaze3d/platform/GlStateManager$TexCoord;)Lcom/mojang/blaze3d/platform/GlStateManager$TexGenCoordState;
-
activeTexture
public static void activeTexture(int texture)Sets the active texture unit- Mappings:
Namespace Name Mixin selector official gLbfl;g(I)Vintermediary method_3441Lnet/minecraft/class_1013;method_3441(I)Vnamed activeTextureLcom/mojang/blaze3d/platform/GlStateManager;activeTexture(I)V
-
enableTexture
public static void enableTexture()Enables active texture units- Mappings:
Namespace Name Mixin selector official wLbfl;w()Vintermediary method_3461Lnet/minecraft/class_1013;method_3461()Vnamed enableTextureLcom/mojang/blaze3d/platform/GlStateManager;enableTexture()V
-
disableTexture
public static void disableTexture()Disables active texture units- Mappings:
Namespace Name Mixin selector official xLbfl;x()Vintermediary method_3462Lnet/minecraft/class_1013;method_3462()Vnamed disableTextureLcom/mojang/blaze3d/platform/GlStateManager;disableTexture()V
-
getTexLevelParameter
public static int getTexLevelParameter()Generates texture names- Mappings:
Namespace Name Mixin selector official yLbfl;y()Iintermediary method_3463Lnet/minecraft/class_1013;method_3463()Inamed getTexLevelParameterLcom/mojang/blaze3d/platform/GlStateManager;getTexLevelParameter()I
-
deleteTexture
public static void deleteTexture(int texture)Deletes a certain specified texture- Mappings:
Namespace Name Mixin selector official hLbfl;h(I)Vintermediary method_3443Lnet/minecraft/class_1013;method_3443(I)Vnamed deleteTextureLcom/mojang/blaze3d/platform/GlStateManager;deleteTexture(I)V
-
bindTexture
public static void bindTexture(int texture)Binds a certain specified texture to a texturing target- Mappings:
Namespace Name Mixin selector official iLbfl;i(I)Vintermediary method_3445Lnet/minecraft/class_1013;method_3445(I)Vnamed bindTextureLcom/mojang/blaze3d/platform/GlStateManager;bindTexture(I)V
-
enableNormalize
public static void enableNormalize()Enables normalize- Mappings:
Namespace Name Mixin selector official zLbfl;z()Vintermediary method_3464Lnet/minecraft/class_1013;method_3464()Vnamed enableNormalizeLcom/mojang/blaze3d/platform/GlStateManager;enableNormalize()V
-
disableNormalize
public static void disableNormalize()Disables Normalize- Mappings:
Namespace Name Mixin selector official ALbfl;A()Vintermediary method_3393Lnet/minecraft/class_1013;method_3393()Vnamed disableNormalizeLcom/mojang/blaze3d/platform/GlStateManager;disableNormalize()V
-
shadeModel
public static void shadeModel(int mode)Sets shading mode as flat or smooth- Mappings:
Namespace Name Mixin selector official jLbfl;j(I)Vintermediary method_3447Lnet/minecraft/class_1013;method_3447(I)Vnamed shadeModelLcom/mojang/blaze3d/platform/GlStateManager;shadeModel(I)V
-
enableRescaleNormal
public static void enableRescaleNormal()Enables rescale- Mappings:
Namespace Name Mixin selector official BLbfl;B()Vintermediary method_3394Lnet/minecraft/class_1013;method_3394()Vnamed enableRescaleNormalLcom/mojang/blaze3d/platform/GlStateManager;enableRescaleNormal()V
-
disableRescaleNormal
public static void disableRescaleNormal()Disables rescale- Mappings:
Namespace Name Mixin selector official CLbfl;C()Vintermediary method_3395Lnet/minecraft/class_1013;method_3395()Vnamed disableRescaleNormalLcom/mojang/blaze3d/platform/GlStateManager;disableRescaleNormal()V
-
viewPort
public static void viewPort(int x, int y, int width, int height)Sets the viewport- Mappings:
Namespace Name Mixin selector official bLbfl;b(IIII)Vintermediary method_3426Lnet/minecraft/class_1013;method_3426(IIII)Vnamed viewPortLcom/mojang/blaze3d/platform/GlStateManager;viewPort(IIII)V
-
colorMask
public static void colorMask(boolean red, boolean green, boolean blue, boolean alpha)Enables or Disables writing of frame buffer color components- Mappings:
Namespace Name Mixin selector official aLbfl;a(ZZZZ)Vintermediary method_3418Lnet/minecraft/class_1013;method_3418(ZZZZ)Vnamed colorMaskLcom/mojang/blaze3d/platform/GlStateManager;colorMask(ZZZZ)V
-
clearDepth
public static void clearDepth(double depth)Sets the clear value for the depth buffer- Mappings:
Namespace Name Mixin selector official aLbfl;a(D)Vintermediary method_3401Lnet/minecraft/class_1013;method_3401(D)Vnamed clearDepthLcom/mojang/blaze3d/platform/GlStateManager;clearDepth(D)V
-
clearColor
public static void clearColor(float red, float green, float blue, float alpha)Sets clear values for the color buffers- Mappings:
Namespace Name Mixin selector official aLbfl;a(FFFF)Vintermediary method_3407Lnet/minecraft/class_1013;method_3407(FFFF)Vnamed clearColorLcom/mojang/blaze3d/platform/GlStateManager;clearColor(FFFF)V
-
clear
public static void clear(int mode)Clears buffers to preset values- Mappings:
Namespace Name Mixin selector official mLbfl;m(I)Vintermediary method_3451Lnet/minecraft/class_1013;method_3451(I)Vnamed clearLcom/mojang/blaze3d/platform/GlStateManager;clear(I)V
-
matrixMode
public static void matrixMode(int mode)Allows specifying which matrix is the current matrix- Mappings:
Namespace Name Mixin selector official nLbfl;n(I)Vintermediary method_3453Lnet/minecraft/class_1013;method_3453(I)Vnamed matrixModeLcom/mojang/blaze3d/platform/GlStateManager;matrixMode(I)V
-
loadIdentity
public static void loadIdentity()Replaces the current matrix with the identity matrix- Mappings:
Namespace Name Mixin selector official DLbfl;D()Vintermediary method_3396Lnet/minecraft/class_1013;method_3396()Vnamed loadIdentityLcom/mojang/blaze3d/platform/GlStateManager;loadIdentity()V
-
pushMatrix
public static void pushMatrix()Pushes the current matrix stack- Mappings:
Namespace Name Mixin selector official ELbfl;E()Vintermediary method_3397Lnet/minecraft/class_1013;method_3397()Vnamed pushMatrixLcom/mojang/blaze3d/platform/GlStateManager;pushMatrix()V
-
popMatrix
public static void popMatrix()Pops the current matrix stack- Mappings:
Namespace Name Mixin selector official FLbfl;F()Vintermediary method_3398Lnet/minecraft/class_1013;method_3398()Vnamed popMatrixLcom/mojang/blaze3d/platform/GlStateManager;popMatrix()V
-
getFloat
Gets a float for a float buffer- Mappings:
Namespace Name Mixin selector official aLbfl;a(ILjava/nio/FloatBuffer;)Vintermediary method_3412Lnet/minecraft/class_1013;method_3412(ILjava/nio/FloatBuffer;)Vnamed getFloatLcom/mojang/blaze3d/platform/GlStateManager;getFloat(ILjava/nio/FloatBuffer;)V
-
ortho
public static void ortho(double l, double r, double b, double t, double n, double f)Multiplies the current matrix with an orthographic matrix- Mappings:
Namespace Name Mixin selector official aLbfl;a(DDDDDD)Vintermediary method_3403Lnet/minecraft/class_1013;method_3403(DDDDDD)Vnamed orthoLcom/mojang/blaze3d/platform/GlStateManager;ortho(DDDDDD)V
-
rotatef
public static void rotatef(float angle, float x, float y, float z)Multiplies the current matrix by a rotation matrix- Mappings:
Namespace Name Mixin selector official bLbfl;b(FFFF)Vintermediary method_3423Lnet/minecraft/class_1013;method_3423(FFFF)Vnamed rotatefLcom/mojang/blaze3d/platform/GlStateManager;rotatef(FFFF)V
-
scalef
public static void scalef(float x, float y, float z)Multiplies the current matrix by a general scaling matrix- Mappings:
Namespace Name Mixin selector official aLbfl;a(FFF)Vintermediary method_3406Lnet/minecraft/class_1013;method_3406(FFF)Vnamed scalefLcom/mojang/blaze3d/platform/GlStateManager;scalef(FFF)V
-
scaled
public static void scaled(double x, double y, double z)Multiplies the current matrix by a general scaling matrix- Mappings:
Namespace Name Mixin selector official aLbfl;a(DDD)Vintermediary method_3402Lnet/minecraft/class_1013;method_3402(DDD)Vnamed scaledLcom/mojang/blaze3d/platform/GlStateManager;scaled(DDD)V
-
translatef
public static void translatef(float x, float y, float z)Multiplies the current matrix by a translation matrix- Mappings:
Namespace Name Mixin selector official bLbfl;b(FFF)Vintermediary method_3422Lnet/minecraft/class_1013;method_3422(FFF)Vnamed translatefLcom/mojang/blaze3d/platform/GlStateManager;translatef(FFF)V
-
translated
public static void translated(double x, double y, double z)Multiplies the current matrix by a translation matrix- Mappings:
Namespace Name Mixin selector official bLbfl;b(DDD)Vintermediary method_3420Lnet/minecraft/class_1013;method_3420(DDD)Vnamed translatedLcom/mojang/blaze3d/platform/GlStateManager;translated(DDD)V
-
multiMatrix
Multiplies the current matrix with the specified matrix- Mappings:
Namespace Name Mixin selector official aLbfl;a(Ljava/nio/FloatBuffer;)Vintermediary method_3416Lnet/minecraft/class_1013;method_3416(Ljava/nio/FloatBuffer;)Vnamed multiMatrixLcom/mojang/blaze3d/platform/GlStateManager;multiMatrix(Ljava/nio/FloatBuffer;)V
-
color4f
public static void color4f(float red, float green, float blue, float alpha)Sets the current color- Mappings:
Namespace Name Mixin selector official cLbfl;c(FFFF)Vintermediary method_3431Lnet/minecraft/class_1013;method_3431(FFFF)Vnamed color4fLcom/mojang/blaze3d/platform/GlStateManager;color4f(FFFF)V
-
color3f
public static void color3f(float red, float green, float blue)Sets the current color without alpha- Mappings:
Namespace Name Mixin selector official cLbfl;c(FFF)Vintermediary method_3430Lnet/minecraft/class_1013;method_3430(FFF)Vnamed color3fLcom/mojang/blaze3d/platform/GlStateManager;color3f(FFF)V
-
clearColor
public static void clearColor()Clears the current color- Mappings:
Namespace Name Mixin selector official GLbfl;G()Vintermediary method_3399Lnet/minecraft/class_1013;method_3399()Vnamed clearColorLcom/mojang/blaze3d/platform/GlStateManager;clearColor()V
-
callList
public static void callList(int listId)Executes a display list- Mappings:
Namespace Name Mixin selector official oLbfl;o(I)Vintermediary method_3455Lnet/minecraft/class_1013;method_3455(I)Vnamed callListLcom/mojang/blaze3d/platform/GlStateManager;callList(I)V
-