public static class XErrorEvent.Buffer extends org.lwjgl.system.StructBuffer<XErrorEvent,XErrorEvent.Buffer> implements org.lwjgl.system.NativeResource
XErrorEvent structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
XErrorEvent.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
display()
Returns the value of the
display field. |
XErrorEvent.Buffer |
display(long value)
Sets the specified value to the
display field. |
byte |
error_code()
Returns the value of the
error_code field. |
XErrorEvent.Buffer |
error_code(byte value)
Sets the specified value to the
error_code field. |
byte |
minor_code()
Returns the value of the
minor_code field. |
XErrorEvent.Buffer |
minor_code(byte value)
Sets the specified value to the
minor_code field. |
byte |
request_code()
Returns the value of the
request_code field. |
XErrorEvent.Buffer |
request_code(byte value)
Sets the specified value to the
request_code field. |
long |
resourceid()
Returns the value of the
resourceid field. |
XErrorEvent.Buffer |
resourceid(long value)
Sets the specified value to the
resourceid field. |
long |
serial()
Returns the value of the
serial field. |
XErrorEvent.Buffer |
serial(long value)
Sets the specified value to the
serial field. |
int |
type()
Returns the value of the
type field. |
XErrorEvent.Buffer |
type(int value)
Sets the specified value to the
type field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
XErrorEvent.Buffer instance backed by the specified container.
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 XErrorEvent.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int type()
type field.public long display()
display field.public long resourceid()
resourceid field.public long serial()
serial field.public byte error_code()
error_code field.public byte request_code()
request_code field.public byte minor_code()
minor_code field.public XErrorEvent.Buffer type(int value)
type field.public XErrorEvent.Buffer display(long value)
display field.public XErrorEvent.Buffer resourceid(long value)
resourceid field.public XErrorEvent.Buffer serial(long value)
serial field.public XErrorEvent.Buffer error_code(byte value)
error_code field.public XErrorEvent.Buffer request_code(byte value)
request_code field.public XErrorEvent.Buffer minor_code(byte value)
minor_code field.Copyright LWJGL. All Rights Reserved. License terms.