Class RenderEngine

java.lang.Object
net.minecraft.src.RenderEngine

@Deprecated public class RenderEngine extends Object
Deprecated.
  • Constructor Details

    • RenderEngine

      public RenderEngine(net.minecraft.src.RenderEngine.TexturePackList par1TexturePackList, GameSettings par2GameSettings)
      Deprecated.
  • Method Details

    • getTextureContents

      public int[] getTextureContents(String par1Str)
      Deprecated.
    • bindTexture

      public void bindTexture(String par1Str)
      Deprecated.
    • bindTexture

      public void bindTexture(int par1)
      Deprecated.
    • resetBoundTexture

      public void resetBoundTexture()
      Deprecated.
    • getTexture

      public int getTexture(String par1Str)
      Deprecated.
    • allocateAndSetupTexture

      public int allocateAndSetupTexture(BufferedImage par1BufferedImage)
      Deprecated.
      Copy the supplied image onto a newly-allocated OpenGL texture, returning the allocated texture name
    • setupTexture

      public void setupTexture(BufferedImage par1BufferedImage, int par2)
      Deprecated.
      Copy the supplied image onto the specified OpenGL texture
    • setupTextureExt

      public void setupTextureExt(BufferedImage par1BufferedImage, int par2, boolean par3, boolean par4)
      Deprecated.
    • createTextureFromBytes

      public void createTextureFromBytes(int[] par1ArrayOfInteger, int par2, int par3, int par4)
      Deprecated.
    • deleteTexture

      public void deleteTexture(int par1)
      Deprecated.
      Deletes a single GL texture
    • getTextureForDownloadableImage

      public int getTextureForDownloadableImage(String par1Str, String par2Str)
      Deprecated.
      Takes a URL of a downloadable image and the name of the local image to be used as a fallback. If the image has been downloaded, returns the GL texture of the downloaded image, otherwise returns the GL texture of the fallback image.
    • hasImageData

      public boolean hasImageData(String par1Str)
      Deprecated.
      Checks if urlToImageDataMap has image data for the given key
    • obtainImageData

      public ThreadDownloadImageData obtainImageData(String par1Str, IImageBuffer par2IImageBuffer)
      Deprecated.
      Return a ThreadDownloadImageData instance for the given URL. If it does not already exist, it is created and uses the passed ImageBuffer. If it does, its reference count is incremented.
    • releaseImageData

      public void releaseImageData(String par1Str)
      Deprecated.
      Decrements the reference count for a given URL, deleting the image data if the reference count hits 0
    • updateDynamicTextures

      public void updateDynamicTextures()
      Deprecated.
    • refreshTextures

      public void refreshTextures()
      Deprecated.
      Call setupTexture on all currently-loaded textures again to account for changes in rendering options
    • refreshTextureMaps

      public void refreshTextureMaps()
      Deprecated.
    • getMissingIcon

      public Icon getMissingIcon(int par1)
      Deprecated.