public static class VkPerformanceCounterResultKHR.Buffer extends org.lwjgl.system.StructBuffer<VkPerformanceCounterResultKHR,VkPerformanceCounterResultKHR.Buffer> implements org.lwjgl.system.NativeResource
VkPerformanceCounterResultKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPerformanceCounterResultKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
float |
float32()
Returns the value of the
float32 field. |
VkPerformanceCounterResultKHR.Buffer |
float32(float value)
Sets the specified value to the
float32 field. |
double |
float64()
Returns the value of the
float64 field. |
VkPerformanceCounterResultKHR.Buffer |
float64(double value)
Sets the specified value to the
float64 field. |
int |
int32()
Returns the value of the
int32 field. |
VkPerformanceCounterResultKHR.Buffer |
int32(int value)
Sets the specified value to the
int32 field. |
long |
int64()
Returns the value of the
int64 field. |
VkPerformanceCounterResultKHR.Buffer |
int64(long value)
Sets the specified value to the
int64 field. |
int |
uint32()
Returns the value of the
uint32 field. |
VkPerformanceCounterResultKHR.Buffer |
uint32(int value)
Sets the specified value to the
uint32 field. |
long |
uint64()
Returns the value of the
uint64 field. |
VkPerformanceCounterResultKHR.Buffer |
uint64(long value)
Sets the specified value to the
uint64 field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPerformanceCounterResultKHR.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 VkPerformanceCounterResultKHR.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 int32()
int32 field.public long int64()
int64 field.public int uint32()
uint32 field.public long uint64()
uint64 field.public float float32()
float32 field.public double float64()
float64 field.public VkPerformanceCounterResultKHR.Buffer int32(int value)
int32 field.public VkPerformanceCounterResultKHR.Buffer int64(long value)
int64 field.public VkPerformanceCounterResultKHR.Buffer uint32(int value)
uint32 field.public VkPerformanceCounterResultKHR.Buffer uint64(long value)
uint64 field.public VkPerformanceCounterResultKHR.Buffer float32(float value)
float32 field.public VkPerformanceCounterResultKHR.Buffer float64(double value)
float64 field.Copyright LWJGL. All Rights Reserved. License terms.