Class RenderImageJme

java.lang.Object
com.jme3.niftygui.RenderImageJme
All Implemented Interfaces:
de.lessvoid.nifty.spi.render.RenderImage

public class RenderImageJme extends Object implements de.lessvoid.nifty.spi.render.RenderImage
  • Constructor Details

    • RenderImageJme

      public RenderImageJme(String filename, boolean linear, NiftyJmeDisplay display)
    • RenderImageJme

      public RenderImageJme(Texture2D texture)
  • Method Details

    • getTexture

      public Texture2D getTexture()
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface de.lessvoid.nifty.spi.render.RenderImage
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface de.lessvoid.nifty.spi.render.RenderImage
    • dispose

      public void dispose()
      Specified by:
      dispose in interface de.lessvoid.nifty.spi.render.RenderImage