struct aiTexel {
unsigned char b;
unsigned char g;
unsigned char r;
unsigned char a;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AITexel.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | A
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | B
The struct member offsets. |
| public static final int | G
The struct member offsets. |
| public static final int | R
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AITexel(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public byte | |
| protected AITexel | 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 AITexel | |
| public static AITexel. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AITexel | |
| public static AITexel. | |
| public byte | |
| public static byte | |
| public static byte | |
| public static byte | |
| public static byte | |
| public byte | |
| public int |
| A | back to summary |
|---|---|
| public static final int A The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| B | back to summary |
|---|---|
| public static final int B The struct member offsets. | |
| G | back to summary |
|---|---|
| public static final int G The struct member offsets. | |
| R | back to summary |
|---|---|
| public static final int R The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| AITexel | back to summary |
|---|---|
| protected AITexel(long address, ByteBuffer container) | |
| AITexel | back to summary |
|---|---|
| public AITexel(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| a | back to summary |
|---|---|
| public byte a() The alpha color component
| |
| b | back to summary |
|---|---|
| public byte b() The blue color component
| |
| create | back to summary |
|---|---|
| protected AITexel create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AITexel create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AITexel. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AITexel createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AITexel. Like
| |
| g | back to summary |
|---|---|
| public byte g() The green color component
| |
| na | back to summary |
|---|---|
| public static byte na(long struct) Unsafe version of | |
| nb | back to summary |
|---|---|
| public static byte nb(long struct) Unsafe version of | |
| ng | back to summary |
|---|---|
| public static byte ng(long struct) Unsafe version of | |
| nr | back to summary |
|---|---|
| public static byte nr(long struct) Unsafe version of | |
| r | back to summary |
|---|---|
| public byte r() The red color component
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
AITexel structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AITexel |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public byte | |
| public byte | |
| protected AITexel | |
| public byte | |
| protected AITexel. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AITexel 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) | |
| a | back to summary |
|---|---|
public byte a()
| |
| b | back to summary |
|---|---|
public byte b()
| |
| g | back to summary |
|---|---|
public byte g()
| |
| getElementFactory | back to summary |
|---|---|
| protected AITexel getElementFactory() Implements abstract org.
| |
| r | back to summary |
|---|---|
public byte r()
| |
| self | back to summary |
|---|---|
| protected AITexel. Implements abstract org.
| |