com.mojang.blaze3d.platform

public class GLX

com.mojang.blaze3d.platform.GLX
com.mojang.blaze3d.platform.GLX
com.mojang.blaze3d.platform.GLX
com.mojang.blaze3d.platform.GLX

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
LOGGER
LOGGER
public static boolean
isNvidia
isNvidia
public static boolean
isAmd
isAmd
public static int
GL_FRAMEBUFFER
GL_FRAMEBUFFER
public static int
GL_RENDERBUFFER
GL_RENDERBUFFER
public static int
GL_COLOR_ATTACHMENT0
GL_COLOR_ATTACHMENT0
public static int
GL_DEPTH_ATTACHMENT
GL_DEPTH_ATTACHMENT
public static int
GL_FRAMEBUFFER_COMPLETE
GL_FRAMEBUFFER_COMPLETE
public static int
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
public static int
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
public static int
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
public static int
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
private static GLX$FboMode
fboMode
fboMode
public static final boolean
useFbo
useFbo
private static boolean
hasShaders
hasShaders
private static boolean
useShaderArb
useShaderArb
public static int
GL_LINK_STATUS
GL_LINK_STATUS
public static int
GL_COMPILE_STATUS
GL_COMPILE_STATUS
public static int
GL_VERTEX_SHADER
GL_VERTEX_SHADER
public static int
GL_FRAGMENT_SHADER
GL_FRAGMENT_SHADER
private static boolean
useMultitextureArb
useMultitextureArb
public static int
GL_TEXTURE0
GL_TEXTURE0
public static int
GL_TEXTURE1
GL_TEXTURE1
public static int
GL_TEXTURE2
GL_TEXTURE2
private static boolean
useTexEnvCombineArb
useTexEnvCombineArb
public static int
GL_COMBINE
GL_COMBINE
public static int
GL_INTERPOLATE
GL_INTERPOLATE
public static int
GL_PRIMARY_COLOR
GL_PRIMARY_COLOR
public static int
GL_CONSTANT
GL_CONSTANT
public static int
GL_PREVIOUS
GL_PREVIOUS
public static int
GL_COMBINE_RGB
GL_COMBINE_RGB
public static int
GL_SOURCE0_RGB
GL_SOURCE0_RGB
public static int
GL_SOURCE1_RGB
GL_SOURCE1_RGB
public static int
GL_SOURCE2_RGB
GL_SOURCE2_RGB
public static int
GL_OPERAND0_RGB
GL_OPERAND0_RGB
public static int
GL_OPERAND1_RGB
GL_OPERAND1_RGB
public static int
GL_OPERAND2_RGB
GL_OPERAND2_RGB
public static int
GL_COMBINE_ALPHA
GL_COMBINE_ALPHA
public static int
GL_SOURCE0_ALPHA
GL_SOURCE0_ALPHA
public static int
GL_SOURCE1_ALPHA
GL_SOURCE1_ALPHA
public static int
GL_SOURCE2_ALPHA
GL_SOURCE2_ALPHA
public static int
GL_OPERAND0_ALPHA
GL_OPERAND0_ALPHA
public static int
GL_OPERAND1_ALPHA
GL_OPERAND1_ALPHA
public static int
GL_OPERAND2_ALPHA
GL_OPERAND2_ALPHA
private static boolean
separateBlend
separateBlend
public static boolean
useSeparateBlendExt
useSeparateBlendExt
public static boolean
isOpenGl21
isOpenGl21
public static boolean
usePostProcess
usePostProcess
private static String
capsString
capsString
private static String
cpuInfo
cpuInfo
public static final boolean
useVbo
useVbo
public static boolean
needVbo
needVbo
private static boolean
useVboArb
useVboArb
public static int
GL_ARRAY_BUFFER
GL_ARRAY_BUFFER
public static int
GL_STATIC_DRAW
GL_STATIC_DRAW
private static final Map<Integer, String>
LOOKUP_MAP
LOOKUP_MAP

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
populateSnooperWithOpenGL(cub arg0)
populateSnooperWithOpenGL(IDataHolder arg0)
public static String
getOpenGLVersionString()
getOpenGLVersionString()
public static int
getRefreshRate(cud arg0)
getRefreshRate(MainWindow arg0)
public static String
getLWJGLVersion()
getLWJGLVersion()
public static LongSupplier
initGlfw()
initGlfw()
public static void
setGlfwErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
setGlfwErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI arg0)
public static boolean
shouldClose(cud arg0)
shouldClose(MainWindow arg0)
public static void
pollEvents()
pollEvents()
public static String
getOpenGLVersion()
getOpenGLVersion()
public static String
getRenderer()
getRenderer()
public static String
getVendor()
getVendor()
public static void
setupNvFogDistance()
setupNvFogDistance()
public static boolean
supportsOpenGL2()
supportsOpenGL2()
public static void
withTextureRestore(Runnable arg0)
withTextureRestore(Runnable arg0)
public static ByteBuffer
allocateMemory(int arg0)
allocateMemory(int arg0)
public static void
freeMemory(Buffer arg0)
freeMemory(Buffer arg0)
public static void
init()
init()
public static boolean
isNextGen()
isNextGen()
public static String
getCapsString()
getCapsString()
public static int
glGetProgrami(int arg0, int arg1)
glGetProgrami(int arg0, int arg1)
public static void
glAttachShader(int arg0, int arg1)
glAttachShader(int arg0, int arg1)
public static void
glDeleteShader(int arg0)
glDeleteShader(int arg0)
public static int
glCreateShader(int arg0)
glCreateShader(int arg0)
public static void
glShaderSource(int arg0, CharSequence arg1)
glShaderSource(int arg0, CharSequence arg1)
public static void
glCompileShader(int arg0)
glCompileShader(int arg0)
public static int
glGetShaderi(int arg0, int arg1)
glGetShaderi(int arg0, int arg1)
public static String
glGetShaderInfoLog(int arg0, int arg1)
glGetShaderInfoLog(int arg0, int arg1)
public static String
glGetProgramInfoLog(int arg0, int arg1)
glGetProgramInfoLog(int arg0, int arg1)
public static void
glUseProgram(int arg0)
glUseProgram(int arg0)
public static int
glCreateProgram()
glCreateProgram()
public static void
glDeleteProgram(int arg0)
glDeleteProgram(int arg0)
public static void
glLinkProgram(int arg0)
glLinkProgram(int arg0)
public static int
glGetUniformLocation(int arg0, CharSequence arg1)
glGetUniformLocation(int arg0, CharSequence arg1)
public static void
glUniform1(int arg0, IntBuffer arg1)
glUniform1(int arg0, IntBuffer arg1)
public static void
glUniform1i(int arg0, int arg1)
glUniform1i(int arg0, int arg1)
public static void
glUniform1(int arg0, FloatBuffer arg1)
glUniform1(int arg0, FloatBuffer arg1)
public static void
glUniform2(int arg0, IntBuffer arg1)
glUniform2(int arg0, IntBuffer arg1)
public static void
glUniform2(int arg0, FloatBuffer arg1)
glUniform2(int arg0, FloatBuffer arg1)
public static void
glUniform3(int arg0, IntBuffer arg1)
glUniform3(int arg0, IntBuffer arg1)
public static void
glUniform3(int arg0, FloatBuffer arg1)
glUniform3(int arg0, FloatBuffer arg1)
public static void
glUniform4(int arg0, IntBuffer arg1)
glUniform4(int arg0, IntBuffer arg1)
public static void
glUniform4(int arg0, FloatBuffer arg1)
glUniform4(int arg0, FloatBuffer arg1)
public static void
glUniformMatrix2(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix2(int arg0, boolean arg1, FloatBuffer arg2)
public static void
glUniformMatrix3(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix3(int arg0, boolean arg1, FloatBuffer arg2)
public static void
glUniformMatrix4(int arg0, boolean arg1, FloatBuffer arg2)
glUniformMatrix4(int arg0, boolean arg1, FloatBuffer arg2)
public static int
glGetAttribLocation(int arg0, CharSequence arg1)
glGetAttribLocation(int arg0, CharSequence arg1)
public static int
glGenBuffers()
glGenBuffers()
public static void
glGenBuffers(IntBuffer arg0)
glGenBuffers(IntBuffer arg0)
public static void
glBindBuffer(int arg0, int arg1)
glBindBuffer(int arg0, int arg1)
public static void
glBufferData(int arg0, ByteBuffer arg1, int arg2)
glBufferData(int arg0, ByteBuffer arg1, int arg2)
public static void
glDeleteBuffers(int arg0)
glDeleteBuffers(int arg0)
public static void
glDeleteBuffers(IntBuffer arg0)
glDeleteBuffers(IntBuffer arg0)
public static boolean
useVbo()
useVbo()
public static void
glBindFramebuffer(int arg0, int arg1)
glBindFramebuffer(int arg0, int arg1)
public static void
glBindRenderbuffer(int arg0, int arg1)
glBindRenderbuffer(int arg0, int arg1)
public static void
glDeleteRenderbuffers(int arg0)
glDeleteRenderbuffers(int arg0)
public static void
glDeleteFramebuffers(int arg0)
glDeleteFramebuffers(int arg0)
public static int
glGenFramebuffers()
glGenFramebuffers()
public static int
glGenRenderbuffers()
glGenRenderbuffers()
public static void
glRenderbufferStorage(int arg0, int arg1, int arg2, int arg3)
glRenderbufferStorage(int arg0, int arg1, int arg2, int arg3)
public static void
glFramebufferRenderbuffer(int arg0, int arg1, int arg2, int arg3)
glFramebufferRenderbuffer(int arg0, int arg1, int arg2, int arg3)
public static int
glCheckFramebufferStatus(int arg0)
glCheckFramebufferStatus(int arg0)
public static void
glFramebufferTexture2D(int arg0, int arg1, int arg2, int arg3, int arg4)
glFramebufferTexture2D(int arg0, int arg1, int arg2, int arg3, int arg4)
public static int
getBoundFramebuffer()
getBoundFramebuffer()
public static void
glActiveTexture(int arg0)
glActiveTexture(int arg0)
public static void
glClientActiveTexture(int arg0)
glClientActiveTexture(int arg0)
public static void
glMultiTexCoord2f(int arg0, float arg1, float arg2)
glMultiTexCoord2f(int arg0, float arg1, float arg2)
public static void
glBlendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
glBlendFuncSeparate(int arg0, int arg1, int arg2, int arg3)
public static boolean
isUsingFBOs()
isUsingFBOs()
public static String
getCpuInfo()
getCpuInfo()
public static void
renderCrosshair(int arg0)
renderCrosshair(int arg0)
public static void
renderCrosshair(int arg0, boolean arg1, boolean arg2, boolean arg3)
renderCrosshair(int arg0, boolean arg1, boolean arg2, boolean arg3)
public static String
getErrorString(int arg0)
getErrorString(int arg0)
public static <T> T
make(Supplier<T> arg0)
make(Supplier<T> arg0)
public static <T> T
make(T arg0, Consumer<T> arg1)
make(T arg0, Consumer<T> arg1)