@NoOffset @Properties(inherit=ale.class) public class ALEScreen extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ALEScreen(ALEScreen rhs) |
ALEScreen(int h,
int w) |
ALEScreen(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
arraySize()
Returns the size of the underlying array
|
boolean |
equals(ALEScreen rhs)
Returns whether two screens are equal
|
byte |
get(int r,
int c)
pixel accessors, (row, column)-ordered
|
BytePointer |
getArray()
Access the whole array
|
BytePointer |
getRow(int r)
Access a whole row
|
long |
height()
Dimensionality information
|
BytePointer |
pixel(int r,
int c) |
ALEScreen |
put(ALEScreen rhs) |
long |
width() |
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 ALEScreen(Pointer p)
Pointer.Pointer(Pointer).public ALEScreen(int h,
int w)
@Cast(value="pixel_t*") public BytePointer pixel(int r, int c)
@Cast(value="pixel_t*") public BytePointer getRow(int r)
@Cast(value="pixel_t*") public BytePointer getArray()
Copyright © 2020. All rights reserved.