Package com.ardor3d.util.screen
Interface ScreenExportable
- All Known Implementing Classes:
ScreenShotImageExporter
public interface ScreenExportable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(ByteBuffer data, int width, int height) Export the given image data (byte buffer) in a manner of our choosing.
-
Method Details
-
export
Export the given image data (byte buffer) in a manner of our choosing. Note that this byte buffer should be treated by the implementing class as immutable and temporary. If you need access to it after returning from the method, make a copy.- Parameters:
data
- the data from the screen. Please respect the data's limit() value.width
- the widthheight
- the height
-
getFormat
ImageDataFormat getFormat()- Returns:
- the image data format we'd like to pull in.
-