|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.renderer.RenderEngine
public class RenderEngine
Field Summary | |
---|---|
boolean |
blurTexture
Flag set when a texture should use blurry resizing |
boolean |
clampTexture
Flag set when a texture should not be repeated |
static Logger |
log
|
List |
textureList
|
TexturePackList |
texturePack
Texture pack |
Constructor Summary | |
---|---|
RenderEngine(TexturePackList par1TexturePackList,
GameSettings par2GameSettings)
|
Method Summary | |
---|---|
int |
allocateAndSetupTexture(BufferedImage par1BufferedImage)
Copy the supplied image onto a newly-allocated OpenGL texture, returning the allocated texture name |
void |
bindTexture(int par1)
|
void |
createTextureFromBytes(int[] par1ArrayOfInteger,
int par2,
int par3,
int par4)
|
void |
deleteTexture(int par1)
Deletes a single GL texture |
int |
getTexture(String par1Str)
|
int[] |
getTextureContents(String par1Str)
|
int |
getTextureForDownloadableImage(String par1Str,
String par2Str)
Takes a URL of a downloadable image and the name of the local image to be used as a fallback. |
boolean |
hasImageData(String par1Str)
Checks if urlToImageDataMap has image data for the given key |
ThreadDownloadImageData |
obtainImageData(String par1Str,
IImageBuffer par2IImageBuffer)
Return a ThreadDownloadImageData instance for the given URL. |
void |
refreshTextures()
Call setupTexture on all currently-loaded textures again to account for changes in rendering options |
void |
registerTextureFX(TextureFX par1TextureFX)
|
void |
releaseImageData(String par1Str)
Decrements the reference count for a given URL, deleting the image data if the reference count hits 0 |
void |
setupTexture(BufferedImage par1BufferedImage,
int par2)
Copy the supplied image onto the specified OpenGL texture |
int |
updateDynamicTexture(TextureFX par1TextureFX,
int par2)
Updates a single dynamic texture |
void |
updateDynamicTextures()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public List textureList
public boolean clampTexture
public boolean blurTexture
public TexturePackList texturePack
public static Logger log
Constructor Detail |
---|
public RenderEngine(TexturePackList par1TexturePackList, GameSettings par2GameSettings)
Method Detail |
---|
public int[] getTextureContents(String par1Str)
public int getTexture(String par1Str)
public int allocateAndSetupTexture(BufferedImage par1BufferedImage)
public void setupTexture(BufferedImage par1BufferedImage, int par2)
public void createTextureFromBytes(int[] par1ArrayOfInteger, int par2, int par3, int par4)
public void deleteTexture(int par1)
public int getTextureForDownloadableImage(String par1Str, String par2Str)
public boolean hasImageData(String par1Str)
public ThreadDownloadImageData obtainImageData(String par1Str, IImageBuffer par2IImageBuffer)
public void releaseImageData(String par1Str)
public void registerTextureFX(TextureFX par1TextureFX)
public void updateDynamicTextures()
public int updateDynamicTexture(TextureFX par1TextureFX, int par2)
public void refreshTextures()
public void bindTexture(int par1)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |