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