ScreenSpaceCanvas.PreparedImage
Package: velox.api.layer1.layers.strategies.interfaces
Type: Class
Enclosing Interface: ScreenSpaceCanvas
Inheritance: java.lang.Object รขโ โ ScreenSpaceCanvas.PreparedImage
Descriptionโ
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).
Constructorsโ
PreparedImageโ
public PreparedImage(BufferedImage image)
Methodsโ
getReadOnlyImageโ
public BufferedImage getReadOnlyImage()
Returns corresponding icon, do not modify it.
Returns: The corresponding BufferedImage (read-only)
getReadOnlyOpenglRepresentationโ
public int[] getReadOnlyOpenglRepresentation()
Returns: The OpenGL representation of the image as an integer array (read-only)