Class ScreenSpaceCanvas.PreparedImage

java.lang.Object
velox.api.layer1.layers.strategies.interfaces.ScreenSpaceCanvas.PreparedImage
Enclosing interface:
ScreenSpaceCanvas

public static class ScreenSpaceCanvas.PreparedImage
extends java.lang.Object
Wrapper for an image. Reusing a ScreenSpaceCanvas.PreparedImage instance is encouraged - this improves rendering performance. Keep in mind that constructing ScreenSpaceCanvas.PreparedImage launches certain (relatively expansive) background preparation tasks (so avoid creating instances that you won't really need)
  • Constructor Summary

    Constructors 
    Constructor Description
    PreparedImage​(java.awt.image.BufferedImage image)  
  • Method Summary

    Modifier and Type Method Description
    java.awt.image.BufferedImage getReadOnlyImage()
    Returns corresponding icon, do not modify it
    int[] getReadOnlyOpenglRepresentation()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PreparedImage

      public PreparedImage​(java.awt.image.BufferedImage image)
  • Method Details