@NoOffset @Properties(inherit=ale.class) public class ScreenExporter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ScreenExporter(ColourPalette palette)
Creates a new ScreenExporter which can be used to save screens using save(filename).
|
ScreenExporter(ColourPalette palette,
BytePointer path)
Creates a new ScreenExporter which will save frames successively in the directory provided.
|
ScreenExporter(ColourPalette palette,
String path) |
ScreenExporter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
save(ALEScreen screen,
BytePointer filename)
Save the given screen to the given filename.
|
void |
save(ALEScreen screen,
String filename) |
void |
saveNext(ALEScreen screen)
Save the given screen according to our own internal numbering.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ScreenExporter(Pointer p)
Pointer.Pointer(Pointer).public ScreenExporter(@ByRef ColourPalette palette)
public ScreenExporter(@ByRef ColourPalette palette, @StdString BytePointer path)
public ScreenExporter(@ByRef ColourPalette palette, @StdString String path)
public void save(@Const @ByRef ALEScreen screen, @StdString BytePointer filename)
public void save(@Const @ByRef ALEScreen screen, @StdString String filename)
Copyright © 2020. All rights reserved.