public static class ParSLViewport.Buffer extends org.lwjgl.system.StructBuffer<ParSLViewport,ParSLViewport.Buffer> implements org.lwjgl.system.NativeResource
ParSLViewport structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
ParSLViewport.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
float |
bottom()
Returns the value of the
bottom field. |
ParSLViewport.Buffer |
bottom(float value)
Sets the specified value to the
bottom field. |
float |
left()
Returns the value of the
left field. |
ParSLViewport.Buffer |
left(float value)
Sets the specified value to the
left field. |
float |
right()
Returns the value of the
right field. |
ParSLViewport.Buffer |
right(float value)
Sets the specified value to the
right field. |
float |
top()
Returns the value of the
top field. |
ParSLViewport.Buffer |
top(float value)
Sets the specified value to the
top field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
ParSLViewport.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 ParSLViewport.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 float left()
left field.public float top()
top field.public float right()
right field.public float bottom()
bottom field.public ParSLViewport.Buffer left(float value)
left field.public ParSLViewport.Buffer top(float value)
top field.public ParSLViewport.Buffer right(float value)
right field.public ParSLViewport.Buffer bottom(float value)
bottom field.Copyright LWJGL. All Rights Reserved. License terms.