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()VkPerformanceValueDataINTEL.Buffervalue32(int value)Sets the specified value to theVkPerformanceValueDataINTEL.value32()field.longvalue64()VkPerformanceValueDataINTEL.Buffervalue64(long value)Sets the specified value to theVkPerformanceValueDataINTEL.value64()field.booleanvalueBool()VkPerformanceValueDataINTEL.BuffervalueBool(boolean value)Sets the specified value to theVkPerformanceValueDataINTEL.valueBool()field.floatvalueFloat()VkPerformanceValueDataINTEL.BuffervalueFloat(float value)Sets the specified value to theVkPerformanceValueDataINTEL.valueFloat()field.java.nio.ByteBuffervalueString()VkPerformanceValueDataINTEL.BuffervalueString(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theVkPerformanceValueDataINTEL.valueString()field.java.lang.StringvalueStringString()
-
-
-
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 the
VkPerformanceValueDataINTEL.value32()field.
-
value64
public long value64()
- Returns:
- the value of the
VkPerformanceValueDataINTEL.value64()field.
-
valueFloat
public float valueFloat()
- Returns:
- the value of the
VkPerformanceValueDataINTEL.valueFloat()field.
-
valueBool
public boolean valueBool()
- Returns:
- the value of the
VkPerformanceValueDataINTEL.valueBool()field.
-
valueString
public java.nio.ByteBuffer valueString()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theVkPerformanceValueDataINTEL.valueString()field.
-
valueStringString
public java.lang.String valueStringString()
- Returns:
- the null-terminated string pointed to by the
VkPerformanceValueDataINTEL.valueString()field.
-
value32
public VkPerformanceValueDataINTEL.Buffer value32(int value)
Sets the specified value to theVkPerformanceValueDataINTEL.value32()field.
-
value64
public VkPerformanceValueDataINTEL.Buffer value64(long value)
Sets the specified value to theVkPerformanceValueDataINTEL.value64()field.
-
valueFloat
public VkPerformanceValueDataINTEL.Buffer valueFloat(float value)
Sets the specified value to theVkPerformanceValueDataINTEL.valueFloat()field.
-
valueBool
public VkPerformanceValueDataINTEL.Buffer valueBool(boolean value)
Sets the specified value to theVkPerformanceValueDataINTEL.valueBool()field.
-
valueString
public VkPerformanceValueDataINTEL.Buffer valueString(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theVkPerformanceValueDataINTEL.valueString()field.
-
-