public static class VkPerformanceValueINTEL.Buffer extends org.lwjgl.system.StructBuffer<VkPerformanceValueINTEL,VkPerformanceValueINTEL.Buffer> implements org.lwjgl.system.NativeResource
VkPerformanceValueINTEL structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPerformanceValueINTEL.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkPerformanceValueDataINTEL |
data()
Returns a
VkPerformanceValueDataINTEL view of the data field. |
VkPerformanceValueINTEL.Buffer |
data(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)
Passes the
data field to the specified Consumer. |
VkPerformanceValueINTEL.Buffer |
data(VkPerformanceValueDataINTEL value)
Copies the specified
VkPerformanceValueDataINTEL to the data field. |
int |
type()
Returns the value of the
type field. |
VkPerformanceValueINTEL.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)
VkPerformanceValueINTEL.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 VkPerformanceValueINTEL.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 VkPerformanceValueDataINTEL data()
VkPerformanceValueDataINTEL view of the data field.public VkPerformanceValueINTEL.Buffer type(int value)
type field.public VkPerformanceValueINTEL.Buffer data(VkPerformanceValueDataINTEL value)
VkPerformanceValueDataINTEL to the data field.public VkPerformanceValueINTEL.Buffer data(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)
data field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.