Package org.lwjgl.vulkan
Class VkPerformanceValueDataINTEL.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPerformanceValueDataINTEL,VkPerformanceValueDataINTEL.Buffer>
-
- org.lwjgl.vulkan.VkPerformanceValueDataINTEL.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPerformanceValueDataINTEL>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPerformanceValueDataINTEL
public static class VkPerformanceValueDataINTEL.Buffer extends org.lwjgl.system.StructBuffer<VkPerformanceValueDataINTEL,VkPerformanceValueDataINTEL.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPerformanceValueDataINTELstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue32()Returns the value of thevalue32field.VkPerformanceValueDataINTEL.Buffervalue32(int value)Sets the specified value to thevalue32field.longvalue64()Returns the value of thevalue64field.VkPerformanceValueDataINTEL.Buffervalue64(long value)Sets the specified value to thevalue64field.booleanvalueBool()Returns the value of thevalueBoolfield.VkPerformanceValueDataINTEL.BuffervalueBool(boolean value)Sets the specified value to thevalueBoolfield.floatvalueFloat()Returns the value of thevalueFloatfield.VkPerformanceValueDataINTEL.BuffervalueFloat(float value)Sets the specified value to thevalueFloatfield.java.nio.ByteBuffervalueString(int capacity)Returns aByteBufferview of the data pointed to by thevalueStringfield.VkPerformanceValueDataINTEL.BuffervalueString(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thevalueStringfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPerformanceValueDataINTEL.Bufferinstance 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 byVkPerformanceValueDataINTEL.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
value32
public int value32()
Returns the value of thevalue32field.
-
value64
public long value64()
Returns the value of thevalue64field.
-
valueFloat
public float valueFloat()
Returns the value of thevalueFloatfield.
-
valueBool
public boolean valueBool()
Returns the value of thevalueBoolfield.
-
valueString
public java.nio.ByteBuffer valueString(int capacity)
Returns aByteBufferview of the data pointed to by thevalueStringfield.- Parameters:
capacity- the number of elements in the returned buffer
-
value32
public VkPerformanceValueDataINTEL.Buffer value32(int value)
Sets the specified value to thevalue32field.
-
value64
public VkPerformanceValueDataINTEL.Buffer value64(long value)
Sets the specified value to thevalue64field.
-
valueFloat
public VkPerformanceValueDataINTEL.Buffer valueFloat(float value)
Sets the specified value to thevalueFloatfield.
-
valueBool
public VkPerformanceValueDataINTEL.Buffer valueBool(boolean value)
Sets the specified value to thevalueBoolfield.
-
valueString
public VkPerformanceValueDataINTEL.Buffer valueString(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thevalueStringfield.
-
-