public static class ScreenSpaceCanvas.PreparedImage
extends java.lang.Object
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)Modifier and Type | Field and Description |
---|---|
private java.awt.image.BufferedImage |
image |
private java.util.concurrent.Future<int[]> |
openglRepresentation |
Constructor and Description |
---|
PreparedImage(java.awt.image.BufferedImage image) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getReadOnlyImage()
Returns corresponding icon, do not modify it
|
int[] |
getReadOnlyOpenglRepresentation() |