Class GlStateManager

java.lang.Object
com.mojang.blaze3d.platform.GlStateManager

public class GlStateManager extends Object
  • Field Details

  • Constructor Details

    • GlStateManager

      public GlStateManager()
  • Method Details

    • _pushLightingAttributes

      @Deprecated public static void _pushLightingAttributes()
      Deprecated.
    • _pushTextureAttributes

      @Deprecated public static void _pushTextureAttributes()
      Deprecated.
    • _popAttributes

      @Deprecated public static void _popAttributes()
      Deprecated.
    • _disableAlphaTest

      @Deprecated public static void _disableAlphaTest()
      Deprecated.
    • _enableAlphaTest

      @Deprecated public static void _enableAlphaTest()
      Deprecated.
    • _alphaFunc

      @Deprecated public static void _alphaFunc(int p_227639_0_, float p_227639_1_)
      Deprecated.
    • _enableLighting

      @Deprecated public static void _enableLighting()
      Deprecated.
    • _disableLighting

      @Deprecated public static void _disableLighting()
      Deprecated.
    • _enableLight

      @Deprecated public static void _enableLight(int p_227638_0_)
      Deprecated.
    • _enableColorMaterial

      @Deprecated public static void _enableColorMaterial()
      Deprecated.
    • _disableColorMaterial

      @Deprecated public static void _disableColorMaterial()
      Deprecated.
    • _colorMaterial

      @Deprecated public static void _colorMaterial(int p_227641_0_, int p_227641_1_)
      Deprecated.
    • _light

      @Deprecated public static void _light(int p_227653_0_, int p_227653_1_, FloatBuffer p_227653_2_)
      Deprecated.
    • _lightModel

      @Deprecated public static void _lightModel(int p_227656_0_, FloatBuffer p_227656_1_)
      Deprecated.
    • _normal3f

      @Deprecated public static void _normal3f(float p_227636_0_, float p_227636_1_, float p_227636_2_)
      Deprecated.
    • _disableScissorTest

      public static void _disableScissorTest()
    • _enableScissorTest

      public static void _enableScissorTest()
    • _scissorBox

      public static void _scissorBox(int p_244592_0_, int p_244592_1_, int p_244592_2_, int p_244592_3_)
    • _disableDepthTest

      public static void _disableDepthTest()
    • _enableDepthTest

      public static void _enableDepthTest()
    • _depthFunc

      public static void _depthFunc(int p_227674_0_)
    • _depthMask

      public static void _depthMask(boolean p_227667_0_)
    • _disableBlend

      public static void _disableBlend()
    • _enableBlend

      public static void _enableBlend()
    • _blendFunc

      public static void _blendFunc(int p_227676_0_, int p_227676_1_)
    • _blendFuncSeparate

      public static void _blendFuncSeparate(int p_227644_0_, int p_227644_1_, int p_227644_2_, int p_227644_3_)
    • _blendColor

      public static void _blendColor(float p_227637_0_, float p_227637_1_, float p_227637_2_, float p_227637_3_)
    • _blendEquation

      public static void _blendEquation(int p_227690_0_)
    • _init_fbo

      public static String _init_fbo(org.lwjgl.opengl.GLCapabilities p_227666_0_)
    • glGetProgrami

      public static int glGetProgrami(int p_227691_0_, int p_227691_1_)
    • glAttachShader

      public static void glAttachShader(int p_227704_0_, int p_227704_1_)
    • glDeleteShader

      public static void glDeleteShader(int p_227703_0_)
    • glCreateShader

      public static int glCreateShader(int p_227711_0_)
    • glShaderSource

      public static void glShaderSource(int p_227654_0_, CharSequence p_227654_1_)
    • glCompileShader

      public static void glCompileShader(int p_227717_0_)
    • glGetShaderi

      public static int glGetShaderi(int p_227712_0_, int p_227712_1_)
    • _glUseProgram

      public static void _glUseProgram(int p_227723_0_)
    • glCreateProgram

      public static int glCreateProgram()
    • glDeleteProgram

      public static void glDeleteProgram(int p_227726_0_)
    • glLinkProgram

      public static void glLinkProgram(int p_227729_0_)
    • _glGetUniformLocation

      public static int _glGetUniformLocation(int p_227680_0_, CharSequence p_227680_1_)
    • _glUniform1

      public static void _glUniform1(int p_227657_0_, IntBuffer p_227657_1_)
    • _glUniform1i

      public static void _glUniform1i(int p_227718_0_, int p_227718_1_)
    • _glUniform1

      public static void _glUniform1(int p_227681_0_, FloatBuffer p_227681_1_)
    • _glUniform2

      public static void _glUniform2(int p_227682_0_, IntBuffer p_227682_1_)
    • _glUniform2

      public static void _glUniform2(int p_227696_0_, FloatBuffer p_227696_1_)
    • _glUniform3

      public static void _glUniform3(int p_227697_0_, IntBuffer p_227697_1_)
    • _glUniform3

      public static void _glUniform3(int p_227707_0_, FloatBuffer p_227707_1_)
    • _glUniform4

      public static void _glUniform4(int p_227708_0_, IntBuffer p_227708_1_)
    • _glUniform4

      public static void _glUniform4(int p_227715_0_, FloatBuffer p_227715_1_)
    • _glUniformMatrix2

      public static void _glUniformMatrix2(int p_227659_0_, boolean p_227659_1_, FloatBuffer p_227659_2_)
    • _glUniformMatrix3

      public static void _glUniformMatrix3(int p_227683_0_, boolean p_227683_1_, FloatBuffer p_227683_2_)
    • _glUniformMatrix4

      public static void _glUniformMatrix4(int p_227698_0_, boolean p_227698_1_, FloatBuffer p_227698_2_)
    • _glGetAttribLocation

      public static int _glGetAttribLocation(int p_227695_0_, CharSequence p_227695_1_)
    • _glGenBuffers

      public static int _glGenBuffers()
    • _glBindBuffer

      public static void _glBindBuffer(int p_227724_0_, int p_227724_1_)
    • _glBufferData

      public static void _glBufferData(int p_227655_0_, ByteBuffer p_227655_1_, int p_227655_2_)
    • _glDeleteBuffers

      public static void _glDeleteBuffers(int p_227732_0_)
    • _glCopyTexSubImage2D

      public static void _glCopyTexSubImage2D(int p_237509_0_, int p_237509_1_, int p_237509_2_, int p_237509_3_, int p_237509_4_, int p_237509_5_, int p_237509_6_, int p_237509_7_)
    • _glBindFramebuffer

      public static void _glBindFramebuffer(int p_227727_0_, int p_227727_1_)
    • getFramebufferDepthTexture

      public static int getFramebufferDepthTexture()
    • _glBlitFrameBuffer

      public static void _glBlitFrameBuffer(int p_237510_0_, int p_237510_1_, int p_237510_2_, int p_237510_3_, int p_237510_4_, int p_237510_5_, int p_237510_6_, int p_237510_7_, int p_237510_8_, int p_237510_9_)
    • _glDeleteFramebuffers

      public static void _glDeleteFramebuffers(int p_227738_0_)
    • glGenFramebuffers

      public static int glGenFramebuffers()
    • glCheckFramebufferStatus

      public static int glCheckFramebufferStatus(int p_227741_0_)
    • _glFramebufferTexture2D

      public static void _glFramebufferTexture2D(int p_227645_0_, int p_227645_1_, int p_227645_2_, int p_227645_3_, int p_227645_4_)
    • getActiveTextureName

      @Deprecated public static int getActiveTextureName()
      Deprecated.
    • glActiveTexture

      public static void glActiveTexture(int p_227744_0_)
    • _glClientActiveTexture

      @Deprecated public static void _glClientActiveTexture(int p_227747_0_)
      Deprecated.
    • _glMultiTexCoord2f

      @Deprecated public static void _glMultiTexCoord2f(int p_227640_0_, float p_227640_1_, float p_227640_2_)
      Deprecated.
    • glBlendFuncSeparate

      public static void glBlendFuncSeparate(int p_227706_0_, int p_227706_1_, int p_227706_2_, int p_227706_3_)
    • glGetShaderInfoLog

      public static String glGetShaderInfoLog(int p_227733_0_, int p_227733_1_)
    • glGetProgramInfoLog

      public static String glGetProgramInfoLog(int p_227736_0_, int p_227736_1_)
    • setupOutline

      public static void setupOutline()
    • teardownOutline

      public static void teardownOutline()
    • setupOverlayColor

      public static void setupOverlayColor(int p_227739_0_, int p_227739_1_)
    • teardownOverlayColor

      public static void teardownOverlayColor()
    • color1arg

      private static void color1arg(int p_227751_0_, int p_227751_1_)
    • color3arg

      private static void color3arg(int p_227720_0_, int p_227720_1_, int p_227720_2_, int p_227720_3_)
    • alpha1arg

      private static void alpha1arg(int p_227754_0_, int p_227754_1_)
    • setupLevelDiffuseLighting

      public static void setupLevelDiffuseLighting(Vector3f p_237512_0_, Vector3f p_237512_1_, Matrix4f p_237512_2_)
    • setupGuiFlatDiffuseLighting

      public static void setupGuiFlatDiffuseLighting(Vector3f p_237511_0_, Vector3f p_237511_1_)
    • setupGui3DDiffuseLighting

      public static void setupGui3DDiffuseLighting(Vector3f p_237513_0_, Vector3f p_237513_1_)
    • getBuffer

      private static FloatBuffer getBuffer(float p_227710_0_, float p_227710_1_, float p_227710_2_, float p_227710_3_)
    • setupEndPortalTexGen

      public static void setupEndPortalTexGen()
    • clearTexGen

      public static void clearTexGen()
    • mulTextureByProjModelView

      public static void mulTextureByProjModelView()
    • _enableFog

      @Deprecated public static void _enableFog()
      Deprecated.
    • _disableFog

      @Deprecated public static void _disableFog()
      Deprecated.
    • _fogMode

      @Deprecated public static void _fogMode(int p_227750_0_)
      Deprecated.
    • _fogDensity

      @Deprecated public static void _fogDensity(float p_227634_0_)
      Deprecated.
    • _fogStart

      @Deprecated public static void _fogStart(float p_227671_0_)
      Deprecated.
    • _fogEnd

      @Deprecated public static void _fogEnd(float p_227687_0_)
      Deprecated.
    • _fog

      @Deprecated public static void _fog(int p_227660_0_, float[] p_227660_1_)
      Deprecated.
    • _fogi

      @Deprecated public static void _fogi(int p_227742_0_, int p_227742_1_)
      Deprecated.
    • _enableCull

      public static void _enableCull()
    • _disableCull

      public static void _disableCull()
    • _polygonMode

      public static void _polygonMode(int p_227745_0_, int p_227745_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_227635_0_, float p_227635_1_)
    • _enableColorLogicOp

      public static void _enableColorLogicOp()
    • _disableColorLogicOp

      public static void _disableColorLogicOp()
    • _logicOp

      public static void _logicOp(int p_227753_0_)
    • _enableTexGen

      @Deprecated public static void _enableTexGen(GlStateManager.TexGen p_227662_0_)
      Deprecated.
    • _disableTexGen

      @Deprecated public static void _disableTexGen(GlStateManager.TexGen p_227685_0_)
      Deprecated.
    • _texGenMode

      @Deprecated public static void _texGenMode(GlStateManager.TexGen p_227663_0_, int p_227663_1_)
      Deprecated.
    • _texGenParam

      @Deprecated public static void _texGenParam(GlStateManager.TexGen p_227664_0_, int p_227664_1_, FloatBuffer p_227664_2_)
      Deprecated.
    • getTexGen

      @Deprecated private static GlStateManager.TexGenCoord getTexGen(GlStateManager.TexGen p_225677_0_)
      Deprecated.
    • _activeTexture

      public static void _activeTexture(int p_227756_0_)
    • _enableTexture

      public static void _enableTexture()
    • _disableTexture

      public static void _disableTexture()
    • _texEnv

      @Deprecated public static void _texEnv(int p_227643_0_, int p_227643_1_, int p_227643_2_)
      Deprecated.
    • _texParameter

      public static void _texParameter(int p_227642_0_, int p_227642_1_, float p_227642_2_)
    • _texParameter

      public static void _texParameter(int p_227677_0_, int p_227677_1_, int p_227677_2_)
    • _getTexLevelParameter

      public static int _getTexLevelParameter(int p_227692_0_, int p_227692_1_, int p_227692_2_)
    • _genTexture

      public static int _genTexture()
    • _genTextures

      public static void _genTextures(int[] p_242998_0_)
    • _deleteTexture

      public static void _deleteTexture(int p_227758_0_)
    • _deleteTextures

      public static void _deleteTextures(int[] p_242999_0_)
    • _bindTexture

      public static void _bindTexture(int p_227760_0_)
    • _texImage2D

      public static void _texImage2D(int p_227647_0_, int p_227647_1_, int p_227647_2_, int p_227647_3_, int p_227647_4_, int p_227647_5_, int p_227647_6_, int p_227647_7_, @Nullable IntBuffer p_227647_8_)
    • _texSubImage2D

      public static void _texSubImage2D(int p_227646_0_, int p_227646_1_, int p_227646_2_, int p_227646_3_, int p_227646_4_, int p_227646_5_, int p_227646_6_, int p_227646_7_, long p_227646_8_)
    • _getTexImage

      public static void _getTexImage(int p_227649_0_, int p_227649_1_, int p_227649_2_, int p_227649_3_, long p_227649_4_)
    • _shadeModel

      @Deprecated public static void _shadeModel(int p_227762_0_)
      Deprecated.
    • _enableRescaleNormal

      @Deprecated public static void _enableRescaleNormal()
      Deprecated.
    • _disableRescaleNormal

      @Deprecated public static void _disableRescaleNormal()
      Deprecated.
    • _viewport

      public static void _viewport(int p_227714_0_, int p_227714_1_, int p_227714_2_, int p_227714_3_)
    • _colorMask

      public static void _colorMask(boolean p_227668_0_, boolean p_227668_1_, boolean p_227668_2_, boolean p_227668_3_)
    • _stencilFunc

      public static void _stencilFunc(int p_227705_0_, int p_227705_1_, int p_227705_2_)
    • _stencilMask

      public static void _stencilMask(int p_227764_0_)
    • _stencilOp

      public static void _stencilOp(int p_227713_0_, int p_227713_1_, int p_227713_2_)
    • _clearDepth

      public static void _clearDepth(double p_227631_0_)
    • _clearColor

      public static void _clearColor(float p_227673_0_, float p_227673_1_, float p_227673_2_, float p_227673_3_)
    • _clearStencil

      public static void _clearStencil(int p_227766_0_)
    • _clear

      public static void _clear(int p_227658_0_, boolean p_227658_1_)
    • _matrixMode

      @Deprecated public static void _matrixMode(int p_227768_0_)
      Deprecated.
    • _loadIdentity

      @Deprecated public static void _loadIdentity()
      Deprecated.
    • _pushMatrix

      @Deprecated public static void _pushMatrix()
      Deprecated.
    • _popMatrix

      @Deprecated public static void _popMatrix()
      Deprecated.
    • _getMatrix

      @Deprecated public static void _getMatrix(int p_227721_0_, FloatBuffer p_227721_1_)
      Deprecated.
    • _ortho

      @Deprecated public static void _ortho(double p_227633_0_, double p_227633_2_, double p_227633_4_, double p_227633_6_, double p_227633_8_, double p_227633_10_)
      Deprecated.
    • _rotatef

      @Deprecated public static void _rotatef(float p_227689_0_, float p_227689_1_, float p_227689_2_, float p_227689_3_)
      Deprecated.
    • _scalef

      @Deprecated public static void _scalef(float p_227672_0_, float p_227672_1_, float p_227672_2_)
      Deprecated.
    • _scaled

      @Deprecated public static void _scaled(double p_227632_0_, double p_227632_2_, double p_227632_4_)
      Deprecated.
    • _translatef

      @Deprecated public static void _translatef(float p_227688_0_, float p_227688_1_, float p_227688_2_)
      Deprecated.
    • _translated

      @Deprecated public static void _translated(double p_227670_0_, double p_227670_2_, double p_227670_4_)
      Deprecated.
    • _multMatrix

      @Deprecated public static void _multMatrix(FloatBuffer p_227665_0_)
      Deprecated.
    • _multMatrix

      @Deprecated public static void _multMatrix(Matrix4f p_227699_0_)
      Deprecated.
    • _color4f

      @Deprecated public static void _color4f(float p_227702_0_, float p_227702_1_, float p_227702_2_, float p_227702_3_)
      Deprecated.
    • _clearCurrentColor

      @Deprecated public static void _clearCurrentColor()
      Deprecated.
    • _normalPointer

      @Deprecated public static void _normalPointer(int p_227652_0_, int p_227652_1_, long p_227652_2_)
      Deprecated.
    • _texCoordPointer

      @Deprecated public static void _texCoordPointer(int p_227650_0_, int p_227650_1_, int p_227650_2_, long p_227650_3_)
      Deprecated.
    • _vertexPointer

      @Deprecated public static void _vertexPointer(int p_227679_0_, int p_227679_1_, int p_227679_2_, long p_227679_3_)
      Deprecated.
    • _colorPointer

      @Deprecated public static void _colorPointer(int p_227694_0_, int p_227694_1_, int p_227694_2_, long p_227694_3_)
      Deprecated.
    • _vertexAttribPointer

      public static void _vertexAttribPointer(int p_227651_0_, int p_227651_1_, int p_227651_2_, boolean p_227651_3_, int p_227651_4_, long p_227651_5_)
    • _enableClientState

      @Deprecated public static void _enableClientState(int p_227770_0_)
      Deprecated.
    • _disableClientState

      @Deprecated public static void _disableClientState(int p_227772_0_)
      Deprecated.
    • _enableVertexAttribArray

      public static void _enableVertexAttribArray(int p_227606_0_)
    • _disableVertexAttribArray

      public static void _disableVertexAttribArray(int p_227608_0_)
    • _drawArrays

      public static void _drawArrays(int p_227719_0_, int p_227719_1_, int p_227719_2_)
    • _lineWidth

      public static void _lineWidth(float p_227701_0_)
    • _pixelStore

      public static void _pixelStore(int p_227748_0_, int p_227748_1_)
    • _pixelTransfer

      public static void _pixelTransfer(int p_227675_0_, float p_227675_1_)
    • _readPixels

      public static void _readPixels(int p_227648_0_, int p_227648_1_, int p_227648_2_, int p_227648_3_, int p_227648_4_, int p_227648_5_, ByteBuffer p_227648_6_)
    • _getError

      public static int _getError()
    • _getString

      public static String _getString(int p_227610_0_)
    • _getInteger

      public static int _getInteger(int p_227612_0_)
    • supportsFramebufferBlit

      public static boolean supportsFramebufferBlit()