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 ofVkPerformanceValueDataINTEL
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value32()
Returns the value of thevalue32
field.VkPerformanceValueDataINTEL.Buffer
value32(int value)
Sets the specified value to thevalue32
field.long
value64()
Returns the value of thevalue64
field.VkPerformanceValueDataINTEL.Buffer
value64(long value)
Sets the specified value to thevalue64
field.boolean
valueBool()
Returns the value of thevalueBool
field.VkPerformanceValueDataINTEL.Buffer
valueBool(boolean value)
Sets the specified value to thevalueBool
field.float
valueFloat()
Returns the value of thevalueFloat
field.VkPerformanceValueDataINTEL.Buffer
valueFloat(float value)
Sets the specified value to thevalueFloat
field.java.nio.ByteBuffer
valueString(int capacity)
Returns aByteBuffer
view of the data pointed to by thevalueString
field.VkPerformanceValueDataINTEL.Buffer
valueString(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thevalueString
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPerformanceValueDataINTEL.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 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 thevalue32
field.
-
value64
public long value64()
Returns the value of thevalue64
field.
-
valueFloat
public float valueFloat()
Returns the value of thevalueFloat
field.
-
valueBool
public boolean valueBool()
Returns the value of thevalueBool
field.
-
valueString
public java.nio.ByteBuffer valueString(int capacity)
Returns aByteBuffer
view of the data pointed to by thevalueString
field.- Parameters:
capacity
- the number of elements in the returned buffer
-
value32
public VkPerformanceValueDataINTEL.Buffer value32(int value)
Sets the specified value to thevalue32
field.
-
value64
public VkPerformanceValueDataINTEL.Buffer value64(long value)
Sets the specified value to thevalue64
field.
-
valueFloat
public VkPerformanceValueDataINTEL.Buffer valueFloat(float value)
Sets the specified value to thevalueFloat
field.
-
valueBool
public VkPerformanceValueDataINTEL.Buffer valueBool(boolean value)
Sets the specified value to thevalueBool
field.
-
valueString
public VkPerformanceValueDataINTEL.Buffer valueString(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBuffer
to thevalueString
field.
-
-