struct GLFWvidmode {
int width;
int height;
int redBits;
int greenBits;
int blueBits;
int refreshRate;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | GLFWVidMode.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BLUEBITS
The struct member offsets. |
| public static final int | GREENBITS
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | REDBITS
The struct member offsets. |
| public static final int | REFRESHRATE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | GLFWVidMode(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected GLFWVidMode | 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 GLFWVidMode | |
| public static GLFWVidMode. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static GLFWVidMode | |
| public static GLFWVidMode. | |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BLUEBITS | back to summary |
|---|---|
| public static final int BLUEBITS The struct member offsets. | |
| GREENBITS | back to summary |
|---|---|
| public static final int GREENBITS The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| REDBITS | back to summary |
|---|---|
| public static final int REDBITS The struct member offsets. | |
| REFRESHRATE | back to summary |
|---|---|
| public static final int REFRESHRATE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| GLFWVidMode | back to summary |
|---|---|
| protected GLFWVidMode(long address, ByteBuffer container) | |
| GLFWVidMode | back to summary |
|---|---|
| public GLFWVidMode(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| blueBits | back to summary |
|---|---|
| public int blueBits() the bit depth of the blue channel of the video mode | |
| create | back to summary |
|---|---|
| protected GLFWVidMode create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static GLFWVidMode create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static GLFWVidMode. Create a
| |
| createSafe | back to summary |
|---|---|
| public static GLFWVidMode createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static GLFWVidMode. Like
| |
| greenBits | back to summary |
|---|---|
| public int greenBits() the bit depth of the green channel of the video mode | |
| height | back to summary |
|---|---|
| public int height() the height, in screen coordinates, of the video mode | |
| nblueBits | back to summary |
|---|---|
| public static int nblueBits(long struct) Unsafe version of | |
| ngreenBits | back to summary |
|---|---|
| public static int ngreenBits(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static int nheight(long struct) Unsafe version of | |
| nredBits | back to summary |
|---|---|
| public static int nredBits(long struct) Unsafe version of | |
| nrefreshRate | back to summary |
|---|---|
| public static int nrefreshRate(long struct) Unsafe version of | |
| nwidth | back to summary |
|---|---|
| public static int nwidth(long struct) Unsafe version of | |
| redBits | back to summary |
|---|---|
| public int redBits() the bit depth of the red channel of the video mode | |
| refreshRate | back to summary |
|---|---|
| public int refreshRate() the refresh rate, in Hz, of the video mode | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| width | back to summary |
|---|---|
| public int width() the width, in screen coordinates, of the video mode | |
GLFWVidMode structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final GLFWVidMode |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected GLFWVidMode | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected GLFWVidMode. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final GLFWVidMode 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) | |
| blueBits | back to summary |
|---|---|
public int blueBits()
| |
| getElementFactory | back to summary |
|---|---|
| protected GLFWVidMode getElementFactory() Implements abstract org.
| |
| greenBits | back to summary |
|---|---|
public int greenBits()
| |
| height | back to summary |
|---|---|
public int height()
| |
| redBits | back to summary |
|---|---|
public int redBits()
| |
| refreshRate | back to summary |
|---|---|
public int refreshRate()
| |
| self | back to summary |
|---|---|
| protected GLFWVidMode. Implements abstract org.
| |
| width | back to summary |
|---|---|
public int width()
| |