Class EaglercraftGPU
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.opengl.EaglercraftGPU
-
public class EaglercraftGPU extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTRIB_COLOR
static int
ATTRIB_LIGHTMAP
static int
ATTRIB_NORMAL
static int
ATTRIB_TEXTURE
-
Constructor Summary
Constructors Constructor Description EaglercraftGPU()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
flushDisplayList(int displayList)
static ITextureGL
getNativeTexture(int tex)
static void
glBlendEquation(int equation)
static void
glCallList(int displayList)
static void
glCopyTexSubImage2D(int target, int level, int sx, int sy, int dx, int dy, int w, int h)
static void
glDeleteLists(int id)
static void
glEndList()
static void
glFog(int param, FloatBuffer valueBuffer)
static void
glFogi(int param, int value)
static int
glGenLists()
static int
glGetError()
static int
glGetInteger(int param)
static void
glGetInteger(int param, int[] values)
static java.lang.String
glGetString(int param)
static void
glLineWidth(float f)
static void
glNewList(int target, int op)
static void
glNormal3f(float x, float y, float z)
static void
glTexImage2D(int target, int level, int internalFormat, int w, int h, int unused, int format, int type, IntBuffer pixels)
static void
glTexParameterf(int target, int param, float value)
static void
glTexParameteri(int target, int param, int value)
static void
glTexSubImage2D(int target, int level, int x, int y, int w, int h, int format, int type, IntBuffer pixels)
static java.lang.String
gluErrorString(int i)
static void
renderAgain()
static void
renderBuffer(ByteBuffer buffer, int attrib, int mode, int count)
static void
warmUpCache()
-
-
-
Field Detail
-
ATTRIB_TEXTURE
public static final int ATTRIB_TEXTURE
- See Also:
- Constant Field Values
-
ATTRIB_COLOR
public static final int ATTRIB_COLOR
- See Also:
- Constant Field Values
-
ATTRIB_NORMAL
public static final int ATTRIB_NORMAL
- See Also:
- Constant Field Values
-
ATTRIB_LIGHTMAP
public static final int ATTRIB_LIGHTMAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
gluErrorString
public static final java.lang.String gluErrorString(int i)
-
glTexParameteri
public static final void glTexParameteri(int target, int param, int value)
-
glTexParameterf
public static final void glTexParameterf(int target, int param, float value)
-
glCopyTexSubImage2D
public static final void glCopyTexSubImage2D(int target, int level, int sx, int sy, int dx, int dy, int w, int h)
-
glNewList
public static final void glNewList(int target, int op)
-
glEndList
public static final void glEndList()
-
glCallList
public static void glCallList(int displayList)
-
flushDisplayList
public static final void flushDisplayList(int displayList)
-
glNormal3f
public static final void glNormal3f(float x, float y, float z)
-
glGetString
public static final java.lang.String glGetString(int param)
-
glGetInteger
public static final void glGetInteger(int param, int[] values)
-
glGetInteger
public static final int glGetInteger(int param)
-
glTexImage2D
public static final void glTexImage2D(int target, int level, int internalFormat, int w, int h, int unused, int format, int type, IntBuffer pixels)
-
glTexSubImage2D
public static final void glTexSubImage2D(int target, int level, int x, int y, int w, int h, int format, int type, IntBuffer pixels)
-
glLineWidth
public static final void glLineWidth(float f)
-
glFog
public static final void glFog(int param, FloatBuffer valueBuffer)
-
glFogi
public static final void glFogi(int param, int value)
-
glGenLists
public static final int glGenLists()
-
glDeleteLists
public static final void glDeleteLists(int id)
-
glGetError
public static final int glGetError()
-
glBlendEquation
public static final void glBlendEquation(int equation)
-
renderBuffer
public static final void renderBuffer(ByteBuffer buffer, int attrib, int mode, int count)
-
renderAgain
public static final void renderAgain()
-
warmUpCache
public static final void warmUpCache()
-
getNativeTexture
public static final ITextureGL getNativeTexture(int tex)
-
-