@Override public void setRepeat(boolean repeatX, boolean repeatY) { if (repeatX != this.repeatX || repeatY != this.repeatY) { this.repeatX = repeatX; this.repeatY = repeatY; clearTexture(); } }
/** * Decrements this image's reference count. Called by {@link ImageLayerGL} to let the image know * that may no longer be part of the scene graph. */ public void release() { assert refs > 0 : "Released an image with no references!"; if (--refs == 0) { clearTexture(); } }
@Override public void setMipmapped (boolean mipmapped) { if (this.mipmapped != mipmapped) { this.mipmapped = mipmapped; clearTexture(); } }