queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyPropertiesqueueCount must be less than or equal to the queueCount member of the VkQueueFamilyProperties structure, as returned by vkGetPhysicalDeviceQueueFamilyProperties in the pQueueFamilyProperties[queueFamilyIndex]pQueuePriorities must be between 0.0 and 1.0 inclusiveprotectedMemory feature is not enabled, the DEVICE_QUEUE_CREATE_PROTECTED_BIT bit of flags must not be setflags includes DEVICE_QUEUE_CREATE_PROTECTED_BIT, queueFamilyIndex must be the index of a queue family that includes the QUEUE_PROTECTED_BIT capabilitysType must be STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFOpNext must be NULL or a pointer to a valid instance of VkDeviceQueueGlobalPriorityCreateInfoKHRsType value of each struct in the pNext chain must be uniqueflags must be a valid combination of VkDeviceQueueCreateFlagBits valuespQueuePriorities must be a valid pointer to an array of queueCount float valuesqueueCount must be greater than 0
struct VkDeviceQueueCreateInfo {
VkStructureType sType;
void const * pNext;
VkDeviceQueueCreateFlags flags;
uint32_t queueFamilyIndex;
uint32_t queueCount;
float const * pQueuePriorities;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceQueueCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PQUEUEPRIORITIES
The struct member offsets. |
| public static final int | QUEUECOUNT
The struct member offsets. |
| public static final int | QUEUEFAMILYINDEX
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDeviceQueueCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceQueueCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceQueueCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo. | |
| public static VkDeviceQueueCreateInfo. | |
| protected VkDeviceQueueCreateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo | create(long address)
Returns a new |
| public static VkDeviceQueueCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceQueueCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo. | |
| public int | |
| public VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceQueueCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceQueueCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo | |
| public static VkDeviceQueueCreateInfo. | |
| public static VkDeviceQueueCreateInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static FloatBuffer | |
| public static void | |
| public static int | |
| public static void | nqueueCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkDeviceQueueCreateInfo | |
| public VkDeviceQueueCreateInfo | pNext(VkDeviceQueueGlobalPriorityCreateInfoEXT value)
Prepends the specified |
| public VkDeviceQueueCreateInfo | pNext(VkDeviceQueueGlobalPriorityCreateInfoKHR value)
Prepends the specified |
| public FloatBuffer | pQueuePriorities()
a pointer to an array of |
| public VkDeviceQueueCreateInfo | pQueuePriorities(FloatBuffer value)
Sets the address of the specified |
| public int | queueCount()
an unsigned integer specifying the number of queues to create in the queue family indicated by |
| public int | queueFamilyIndex()
an unsigned integer indicating the index of the queue family in which to create the queues on this device. |
| public VkDeviceQueueCreateInfo | |
| public VkDeviceQueueCreateInfo | set(int sType, long pNext, int flags, int queueFamilyIndex, FloatBuffer pQueuePriorities)
Initializes this struct with the specified values. |
| public VkDeviceQueueCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceQueueCreateInfo | |
| public VkDeviceQueueCreateInfo | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PQUEUEPRIORITIES | back to summary |
|---|---|
| public static final int PQUEUEPRIORITIES The struct member offsets. | |
| QUEUECOUNT | back to summary |
|---|---|
| public static final int QUEUECOUNT The struct member offsets. | |
| QUEUEFAMILYINDEX | back to summary |
|---|---|
| public static final int QUEUEFAMILYINDEX The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkDeviceQueueCreateInfo | back to summary |
|---|---|
| protected VkDeviceQueueCreateInfo(long address, ByteBuffer container) | |
| VkDeviceQueueCreateInfo | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDeviceQueueCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Like
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask indicating behavior of the queues.
| |
| flags | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceQueueCreateInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npQueuePriorities | back to summary |
|---|---|
| public static FloatBuffer npQueuePriorities(long struct) Unsafe version of | |
| npQueuePriorities | back to summary |
|---|---|
| public static void npQueuePriorities(long struct, FloatBuffer value) Unsafe version of | |
| nqueueCount | back to summary |
|---|---|
| public static int nqueueCount(long struct) Unsafe version of | |
| nqueueCount | back to summary |
|---|---|
| public static void nqueueCount(long struct, int value) Sets the specified value to the | |
| nqueueFamilyIndex | back to summary |
|---|---|
| public static int nqueueFamilyIndex(long struct) Unsafe version of | |
| nqueueFamilyIndex | back to summary |
|---|---|
| public static void nqueueFamilyIndex(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo pNext(VkDeviceQueueGlobalPriorityCreateInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo pNext(VkDeviceQueueGlobalPriorityCreateInfoKHR value) Prepends the specified | |
| pQueuePriorities | back to summary |
|---|---|
| public FloatBuffer pQueuePriorities() a pointer to an array of
| |
| pQueuePriorities | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo pQueuePriorities(FloatBuffer value) Sets the address of the specified | |
| queueCount | back to summary |
|---|---|
| public int queueCount() an unsigned integer specifying the number of queues to create in the queue family indicated by
| |
| queueFamilyIndex | back to summary |
|---|---|
| public int queueFamilyIndex() an unsigned integer indicating the index of the queue family in which to create the queues on this device. This index corresponds to the index of an element of the
| |
| queueFamilyIndex | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo queueFamilyIndex(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo set(int sType, long pNext, int flags, int queueFamilyIndex, FloatBuffer pQueuePriorities) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo set(VkDeviceQueueCreateInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceQueueCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceQueueCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceQueueCreateInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDeviceQueueCreateInfo getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Prepends the specified | |
| pQueuePriorities | back to summary |
|---|---|
public FloatBuffer pQueuePriorities()
| |
| pQueuePriorities | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the address of the specified | |
| queueCount | back to summary |
|---|---|
public int queueCount()
| |
| queueFamilyIndex | back to summary |
|---|---|
public int queueFamilyIndex()
| |
| queueFamilyIndex | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceQueueCreateInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceQueueCreateInfo. Sets the | |