Package org.lwjgl.vulkan
Class VkQueryPoolPerformanceCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkQueryPoolPerformanceCreateInfoKHR,VkQueryPoolPerformanceCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkQueryPoolPerformanceCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkQueryPoolPerformanceCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkQueryPoolPerformanceCreateInfoKHR
public static class VkQueryPoolPerformanceCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkQueryPoolPerformanceCreateInfoKHR,VkQueryPoolPerformanceCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkQueryPoolPerformanceCreateInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkQueryPoolPerformanceCreateInfoKHR.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 byVkQueryPoolPerformanceCreateInfoKHR.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
-
sType
public int sType()
- Returns:
- the value of the
VkQueryPoolPerformanceCreateInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkQueryPoolPerformanceCreateInfoKHR.pNext()field.
-
queueFamilyIndex
public int queueFamilyIndex()
- Returns:
- the value of the
VkQueryPoolPerformanceCreateInfoKHR.queueFamilyIndex()field.
-
counterIndexCount
public int counterIndexCount()
- Returns:
- the value of the
VkQueryPoolPerformanceCreateInfoKHR.counterIndexCount()field.
-
pCounterIndices
public java.nio.IntBuffer pCounterIndices()
- Returns:
- a
IntBufferview of the data pointed to by theVkQueryPoolPerformanceCreateInfoKHR.pCounterIndices()field.
-
sType
public VkQueryPoolPerformanceCreateInfoKHR.Buffer sType(int value)
Sets the specified value to theVkQueryPoolPerformanceCreateInfoKHR.sType()field.
-
sType$Default
public VkQueryPoolPerformanceCreateInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHRvalue to theVkQueryPoolPerformanceCreateInfoKHR.sType()field.
-
pNext
public VkQueryPoolPerformanceCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkQueryPoolPerformanceCreateInfoKHR.pNext()field.
-
queueFamilyIndex
public VkQueryPoolPerformanceCreateInfoKHR.Buffer queueFamilyIndex(int value)
Sets the specified value to theVkQueryPoolPerformanceCreateInfoKHR.queueFamilyIndex()field.
-
pCounterIndices
public VkQueryPoolPerformanceCreateInfoKHR.Buffer pCounterIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkQueryPoolPerformanceCreateInfoKHR.pCounterIndices()field.
-
-