public static class VkPerformanceValueDataINTEL.Buffer extends org.lwjgl.system.StructBuffer<VkPerformanceValueDataINTEL,VkPerformanceValueDataINTEL.Buffer> implements org.lwjgl.system.NativeResource
VkPerformanceValueDataINTEL structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPerformanceValueDataINTEL.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
value32()
Returns the value of the
value32 field. |
VkPerformanceValueDataINTEL.Buffer |
value32(int value)
Sets the specified value to the
value32 field. |
long |
value64()
Returns the value of the
value64 field. |
VkPerformanceValueDataINTEL.Buffer |
value64(long value)
Sets the specified value to the
value64 field. |
boolean |
valueBool()
Returns the value of the
valueBool field. |
VkPerformanceValueDataINTEL.Buffer |
valueBool(boolean value)
Sets the specified value to the
valueBool field. |
float |
valueFloat()
Returns the value of the
valueFloat field. |
VkPerformanceValueDataINTEL.Buffer |
valueFloat(float value)
Sets the specified value to the
valueFloat field. |
VkPerformanceValueDataINTEL.Buffer |
valueString(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the valueString field. |
java.nio.ByteBuffer |
valueString(int capacity)
Returns a
ByteBuffer view of the data pointed to by the valueString field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPerformanceValueDataINTEL.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 VkPerformanceValueDataINTEL.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 value32()
value32 field.public long value64()
value64 field.public float valueFloat()
valueFloat field.public boolean valueBool()
valueBool field.public java.nio.ByteBuffer valueString(int capacity)
ByteBuffer view of the data pointed to by the valueString field.capacity - the number of elements in the returned bufferpublic VkPerformanceValueDataINTEL.Buffer value32(int value)
value32 field.public VkPerformanceValueDataINTEL.Buffer value64(long value)
value64 field.public VkPerformanceValueDataINTEL.Buffer valueFloat(float value)
valueFloat field.public VkPerformanceValueDataINTEL.Buffer valueBool(boolean value)
valueBool field.public VkPerformanceValueDataINTEL.Buffer valueString(java.nio.ByteBuffer value)
ByteBuffer to the valueString field.Copyright LWJGL. All Rights Reserved. License terms.