Package org.lwjgl.vulkan
Class VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkQueueFamilyGlobalPriorityPropertiesKHR,VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer>
-
- org.lwjgl.vulkan.VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkQueueFamilyGlobalPriorityPropertiesKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer
- Enclosing class:
- VkQueueFamilyGlobalPriorityPropertiesKHR
public static class VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer extends org.lwjgl.system.StructBuffer<VkQueueFamilyGlobalPriorityPropertiesKHR,VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkQueueFamilyGlobalPriorityPropertiesKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkQueueFamilyGlobalPriorityPropertiesKHR.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 byVkQueueFamilyGlobalPriorityPropertiesKHR.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
VkQueueFamilyGlobalPriorityPropertiesKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkQueueFamilyGlobalPriorityPropertiesKHR.pNext()field.
-
priorityCount
public int priorityCount()
- Returns:
- the value of the
VkQueueFamilyGlobalPriorityPropertiesKHR.priorityCount()field.
-
priorities
public java.nio.IntBuffer priorities()
- Returns:
- a
IntBufferview of theVkQueueFamilyGlobalPriorityPropertiesKHR.priorities()field.
-
priorities
public int priorities(int index)
- Returns:
- the value at the specified index of the
VkQueueFamilyGlobalPriorityPropertiesKHR.priorities()field.
-
sType
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer sType(int value)
Sets the specified value to theVkQueueFamilyGlobalPriorityPropertiesKHR.sType()field.
-
sType$Default
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHRvalue to theVkQueueFamilyGlobalPriorityPropertiesKHR.sType()field.
-
pNext
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer pNext(long value)
Sets the specified value to theVkQueueFamilyGlobalPriorityPropertiesKHR.pNext()field.
-
priorityCount
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer priorityCount(int value)
Sets the specified value to theVkQueueFamilyGlobalPriorityPropertiesKHR.priorityCount()field.
-
priorities
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer priorities(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theVkQueueFamilyGlobalPriorityPropertiesKHR.priorities()field.
-
priorities
public VkQueueFamilyGlobalPriorityPropertiesKHR.Buffer priorities(int index, int value)
Sets the specified value at the specified index of theVkQueueFamilyGlobalPriorityPropertiesKHR.priorities()field.
-
-