Package com.prupe.mcpatcher.mal.resource
Class GLAPI
java.lang.Object
com.prupe.mcpatcher.mal.resource.GLAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteTexture(int texture) static intstatic voidglAlphaFunc(int func, float ref) static voidglBindTexture(int texture) static voidglBlendFunc(int src, int dst) static voidglBlendFuncSeparate(int src, int dst, int srcAlpha, int dstAlpha) static voidglClearColor(float r, float g, float b, float a) static voidglColor4f(float r, float g, float b, float a) static voidglDepthFunc(int func) static voidglDepthMask(boolean enable)
-
Constructor Details
-
GLAPI
public GLAPI()
-
-
Method Details
-
glBindTexture
public static void glBindTexture(int texture) -
glBlendFunc
public static void glBlendFunc(int src, int dst) -
glBlendFuncSeparate
public static void glBlendFuncSeparate(int src, int dst, int srcAlpha, int dstAlpha) -
glAlphaFunc
public static void glAlphaFunc(int func, float ref) -
glDepthFunc
public static void glDepthFunc(int func) -
glDepthMask
public static void glDepthMask(boolean enable) -
glColor4f
public static void glColor4f(float r, float g, float b, float a) -
glClearColor
public static void glClearColor(float r, float g, float b, float a) -
getBoundTexture
public static int getBoundTexture() -
deleteTexture
public static void deleteTexture(int texture)
-