Class ScreenSpaceCanvas.PreparedImage

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

public static class ScreenSpaceCanvas.PreparedImage extends 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 Details

  • Method Details

    • getReadOnlyImage

      public BufferedImage getReadOnlyImage()
      Returns corresponding icon, do not modify it
    • getReadOnlyOpenglRepresentation

      public int[] getReadOnlyOpenglRepresentation()