@Namespace(value="ale") @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, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ScreenExporter(Pointer p)
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 © 2022. All rights reserved.