struct Visual {
void * ext_data;
VisualID visualid;
int class;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
int bits_per_rgb;
int map_entries;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | Visual.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BITS_PER_RGB
The struct member offsets. |
| public static final int | BLUE_MASK
The struct member offsets. |
| public static final int | CLASS
The struct member offsets. |
| public static final int | EXT_DATA
The struct member offsets. |
| public static final int | GREEN_MASK
The struct member offsets. |
| public static final int | MAP_ENTRIES
The struct member offsets. |
| public static final int | RED_MASK
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VISUALID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | Visual(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Visual | |
| public long | |
| public Visual | |
| public static Visual | |
| public static Visual. | calloc(int
the buffer capacity capacity)Returns a new |
| public static Visual | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static Visual. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static Visual | |
| public static Visual | |
| public static Visual. | |
| public static Visual. | |
| public int | |
| public Visual | |
| protected Visual | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static Visual | |
| public static Visual | |
| public static Visual. | create(int
the buffer capacity capacity)Returns a new |
| public static Visual. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static Visual | |
| public static Visual. | |
| public long | |
| public Visual | |
| public long | |
| public Visual | |
| public static Visual | |
| public static Visual. | malloc(int
the buffer capacity capacity)Returns a new |
| public static Visual | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static Visual. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static Visual | |
| public static Visual | |
| public static Visual. | |
| public static Visual. | |
| public int | |
| public Visual | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public Visual | |
| public Visual | set(long ext_data, long visualid, int class$, long red_mask, long green_mask, long blue_mask, int bits_per_rgb, int map_entries)
Initializes this struct with the specified values. |
| public Visual | |
| public int | |
| public long | |
| public Visual |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BITS_PER_RGB | back to summary |
|---|---|
| public static final int BITS_PER_RGB The struct member offsets. | |
| BLUE_MASK | back to summary |
|---|---|
| public static final int BLUE_MASK The struct member offsets. | |
| CLASS | back to summary |
|---|---|
| public static final int CLASS The struct member offsets. | |
| EXT_DATA | back to summary |
|---|---|
| public static final int EXT_DATA The struct member offsets. | |
| GREEN_MASK | back to summary |
|---|---|
| public static final int GREEN_MASK The struct member offsets. | |
| MAP_ENTRIES | back to summary |
|---|---|
| public static final int MAP_ENTRIES The struct member offsets. | |
| RED_MASK | back to summary |
|---|---|
| public static final int RED_MASK The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VISUALID | back to summary |
|---|---|
| public static final int VISUALID The struct member offsets. | |
| Visual | back to summary |
|---|---|
| protected Visual(long address, ByteBuffer container) | |
| Visual | back to summary |
|---|---|
| public Visual(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bits_per_rgb | back to summary |
|---|---|
public int bits_per_rgb()
| |
| bits_per_rgb | back to summary |
|---|---|
| public Visual bits_per_rgb(int value) Sets the specified value to the | |
| blue_mask | back to summary |
|---|---|
public long blue_mask()
| |
| blue_mask | back to summary |
|---|---|
| public Visual blue_mask(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static Visual calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static Visual. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static Visual calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static Visual. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static Visual callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static Visual callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static Visual. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static Visual. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| class$ | back to summary |
|---|---|
public int class$()
| |
| class$ | back to summary |
|---|---|
| public Visual class$(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected Visual create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static Visual create() Returns a new | |
| create | back to summary |
|---|---|
| public static Visual create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static Visual. Returns a new
| |
| create | back to summary |
|---|---|
| public static Visual. Create a
| |
| createSafe | back to summary |
|---|---|
| public static Visual createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static Visual. Like
| |
| ext_data | back to summary |
|---|---|
public long ext_data()
| |
| ext_data | back to summary |
|---|---|
| public Visual ext_data(long value) Sets the specified value to the | |
| green_mask | back to summary |
|---|---|
public long green_mask()
| |
| green_mask | back to summary |
|---|---|
| public Visual green_mask(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static Visual malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static Visual. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static Visual malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static Visual. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static Visual mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static Visual mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static Visual. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static Visual. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| map_entries | back to summary |
|---|---|
public int map_entries()
| |
| map_entries | back to summary |
|---|---|
| public Visual map_entries(int value) Sets the specified value to the | |
| nbits_per_rgb | back to summary |
|---|---|
| public static int nbits_per_rgb(long struct) Unsafe version of | |
| nbits_per_rgb | back to summary |
|---|---|
| public static void nbits_per_rgb(long struct, int value) Unsafe version of | |
| nblue_mask | back to summary |
|---|---|
| public static long nblue_mask(long struct) Unsafe version of | |
| nblue_mask | back to summary |
|---|---|
| public static void nblue_mask(long struct, long value) Unsafe version of | |
| nclass$ | back to summary |
|---|---|
| public static int nclass$(long struct) Unsafe version of | |
| nclass$ | back to summary |
|---|---|
| public static void nclass$(long struct, int value) Unsafe version of | |
| next_data | back to summary |
|---|---|
| public static long next_data(long struct) Unsafe version of | |
| next_data | back to summary |
|---|---|
| public static void next_data(long struct, long value) Unsafe version of | |
| ngreen_mask | back to summary |
|---|---|
| public static long ngreen_mask(long struct) Unsafe version of | |
| ngreen_mask | back to summary |
|---|---|
| public static void ngreen_mask(long struct, long value) Unsafe version of | |
| nmap_entries | back to summary |
|---|---|
| public static int nmap_entries(long struct) Unsafe version of | |
| nmap_entries | back to summary |
|---|---|
| public static void nmap_entries(long struct, int value) Unsafe version of | |
| nred_mask | back to summary |
|---|---|
| public static long nred_mask(long struct) Unsafe version of | |
| nred_mask | back to summary |
|---|---|
| public static void nred_mask(long struct, long value) Unsafe version of | |
| nvisualid | back to summary |
|---|---|
| public static long nvisualid(long struct) Unsafe version of | |
| nvisualid | back to summary |
|---|---|
| public static void nvisualid(long struct, long value) Unsafe version of | |
| red_mask | back to summary |
|---|---|
public long red_mask()
| |
| red_mask | back to summary |
|---|---|
| public Visual red_mask(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public Visual set(long ext_data, long visualid, int class$, long red_mask, long green_mask, long blue_mask, int bits_per_rgb, int map_entries) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public Visual set(Visual src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| visualid | back to summary |
|---|---|
public long visualid()
| |
| visualid | back to summary |
|---|---|
| public Visual visualid(long value) Sets the specified value to the | |
Visual structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final Visual |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Visual. | |
| public long | |
| public Visual. | |
| public int | |
| public Visual. | |
| public long | |
| public Visual. | |
| protected Visual | |
| public long | |
| public Visual. | |
| public int | |
| public Visual. | |
| public long | |
| public Visual. | |
| protected Visual. | |
| public long | |
| public Visual. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final Visual ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bits_per_rgb | back to summary |
|---|---|
public int bits_per_rgb()
| |
| bits_per_rgb | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| blue_mask | back to summary |
|---|---|
public long blue_mask()
| |
| blue_mask | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| class$ | back to summary |
|---|---|
public int class$()
| |
| class$ | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| ext_data | back to summary |
|---|---|
public long ext_data()
| |
| ext_data | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected Visual getElementFactory() Implements abstract org.
| |
| green_mask | back to summary |
|---|---|
public long green_mask()
| |
| green_mask | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| map_entries | back to summary |
|---|---|
public int map_entries()
| |
| map_entries | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| red_mask | back to summary |
|---|---|
public long red_mask()
| |
| red_mask | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected Visual. Implements abstract org.
| |
| visualid | back to summary |
|---|---|
public long visualid()
| |
| visualid | back to summary |
|---|---|
| public Visual. Sets the specified value to the | |