YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.OpenGlHelper Class Reference

Static Public Member Functions

static void initializeTextures ()
 
static void setActiveTexture (int par0)
 
static void setClientActiveTexture (int par0)
 
static void setLightmapTextureCoords (int par0, float par1, float par2)
 

Static Public Attributes

static int defaultTexUnit
 
static int lightmapTexUnit
 
static float lastBrightnessX = 0.0f
 
static float lastBrightnessY = 0.0f
 

Member Function Documentation

static void net.minecraft.client.renderer.OpenGlHelper.initializeTextures ( )
static

Initializes the texture constants to be used when rendering lightmap values

static void net.minecraft.client.renderer.OpenGlHelper.setActiveTexture ( int  par0)
static

Sets the current lightmap texture to the specified OpenGL constant

static void net.minecraft.client.renderer.OpenGlHelper.setClientActiveTexture ( int  par0)
static

Sets the current lightmap texture to the specified OpenGL constant

static void net.minecraft.client.renderer.OpenGlHelper.setLightmapTextureCoords ( int  par0,
float  par1,
float  par2 
)
static

Sets the current coordinates of the given lightmap texture

Member Data Documentation

int net.minecraft.client.renderer.OpenGlHelper.defaultTexUnit
static

An OpenGL constant corresponding to GL_TEXTURE0, used when setting data pertaining to auxiliary OpenGL texture units.

float net.minecraft.client.renderer.OpenGlHelper.lastBrightnessX = 0.0f
static
float net.minecraft.client.renderer.OpenGlHelper.lastBrightnessY = 0.0f
static
int net.minecraft.client.renderer.OpenGlHelper.lightmapTexUnit
static

An OpenGL constant corresponding to GL_TEXTURE1, used when setting data pertaining to auxiliary OpenGL texture units.


The documentation for this class was generated from the following file: