Package org.lwjgl.vulkan
Class VkPerformanceCounterResultKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPerformanceCounterResultKHR,VkPerformanceCounterResultKHR.Buffer>
-
- org.lwjgl.vulkan.VkPerformanceCounterResultKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPerformanceCounterResultKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPerformanceCounterResultKHR
public static class VkPerformanceCounterResultKHR.Buffer extends org.lwjgl.system.StructBuffer<VkPerformanceCounterResultKHR,VkPerformanceCounterResultKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPerformanceCounterResultKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatfloat32()VkPerformanceCounterResultKHR.Bufferfloat32(float value)Sets the specified value to thefloat32field.doublefloat64()VkPerformanceCounterResultKHR.Bufferfloat64(double value)Sets the specified value to thefloat64field.intint32()VkPerformanceCounterResultKHR.Bufferint32(int value)Sets the specified value to theint32field.longint64()VkPerformanceCounterResultKHR.Bufferint64(long value)Sets the specified value to theint64field.intuint32()VkPerformanceCounterResultKHR.Bufferuint32(int value)Sets the specified value to theuint32field.longuint64()VkPerformanceCounterResultKHR.Bufferuint64(long value)Sets the specified value to theuint64field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPerformanceCounterResultKHR.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 byVkPerformanceCounterResultKHR.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
-
int32
public int int32()
- Returns:
- the value of the
int32field.
-
int64
public long int64()
- Returns:
- the value of the
int64field.
-
uint32
public int uint32()
- Returns:
- the value of the
uint32field.
-
uint64
public long uint64()
- Returns:
- the value of the
uint64field.
-
float32
public float float32()
- Returns:
- the value of the
float32field.
-
float64
public double float64()
- Returns:
- the value of the
float64field.
-
int32
public VkPerformanceCounterResultKHR.Buffer int32(int value)
Sets the specified value to theint32field.
-
int64
public VkPerformanceCounterResultKHR.Buffer int64(long value)
Sets the specified value to theint64field.
-
uint32
public VkPerformanceCounterResultKHR.Buffer uint32(int value)
Sets the specified value to theuint32field.
-
uint64
public VkPerformanceCounterResultKHR.Buffer uint64(long value)
Sets the specified value to theuint64field.
-
float32
public VkPerformanceCounterResultKHR.Buffer float32(float value)
Sets the specified value to thefloat32field.
-
float64
public VkPerformanceCounterResultKHR.Buffer float64(double value)
Sets the specified value to thefloat64field.
-
-