|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.renderer.OpenGlHelper
public class OpenGlHelper
Field Summary | |
---|---|
static int |
defaultTexUnit
An OpenGL constant corresponding to GL_TEXTURE0, used when setting data pertaining to auxiliary OpenGL texture units. |
static int |
lightmapTexUnit
An OpenGL constant corresponding to GL_TEXTURE1, used when setting data pertaining to auxiliary OpenGL texture units. |
Constructor Summary | |
---|---|
OpenGlHelper()
|
Method Summary | |
---|---|
static void |
initializeTextures()
Initializes the texture constants to be used when rendering lightmap values |
static void |
setActiveTexture(int par0)
Sets the current lightmap texture to the specified OpenGL constant |
static void |
setClientActiveTexture(int par0)
Sets the current lightmap texture to the specified OpenGL constant |
static void |
setLightmapTextureCoords(int par0,
float par1,
float par2)
Sets the current coordinates of the given lightmap texture |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int defaultTexUnit
public static int lightmapTexUnit
Constructor Detail |
---|
public OpenGlHelper()
Method Detail |
---|
public static void initializeTextures()
public static void setActiveTexture(int par0)
public static void setClientActiveTexture(int par0)
public static void setLightmapTextureCoords(int par0, float par1, float par2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |