The value returned in minImageTransferGranularity has a unit of compressed texel blocks for images having a block-compressed format, and a unit of texels otherwise.
Possible values of minImageTransferGranularity are:
(0,0,0) specifies that only whole mip levels must be transferred using the image transfer operations on the corresponding queues. In this case, the following restrictions apply to all offset and extent parameters of image transfer operations:
x, y, and z members of a VkOffset3D parameter must always be zero.width, height, and depth members of a VkExtent3D parameter must always match the width, height, and depth of the image subresource corresponding to the parameter, respectively.(Ax, Ay, Az) where Ax, Ay, and Az are all integer powers of two. In this case the following restrictions apply to all image transfer operations:
x, y, and z of a VkOffset3D parameter must be integer multiples of Ax, Ay, and Az, respectively.width of a VkExtent3D parameter must be an integer multiple of Ax, or else x + width must equal the width of the image subresource corresponding to the parameter.height of a VkExtent3D parameter must be an integer multiple of Ay, or else y + height must equal the height of the image subresource corresponding to the parameter.depth of a VkExtent3D parameter must be an integer multiple of Az, or else z + depth must equal the depth of the image subresource corresponding to the parameter.Queues supporting graphics and/or compute operations must report (1,1,1) in minImageTransferGranularity, meaning that there are no additional restrictions on the granularity of image transfer operations for these queues. Other queues supporting image transfer operations are only required to support whole mip level transfers, thus minImageTransferGranularity for queues belonging to such queue families may be (0,0,0).
The Device Memory section describes memory properties queried from the physical device.
For physical device feature queries see the Features chapter.
VkExtent3D, VkQueueFamilyProperties2, GetPhysicalDeviceQueueFamilyProperties
struct VkQueueFamilyProperties {
VkQueueFlags queueFlags;
uint32_t queueCount;
uint32_t timestampValidBits;
VkExtent3D minImageTransferGranularity;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkQueueFamilyProperties.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MINIMAGETRANSFERGRANULARITY
The struct member offsets. |
| public static final int | QUEUECOUNT
The struct member offsets. |
| public static final int | QUEUEFLAGS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TIMESTAMPVALIDBITS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkQueueFamilyProperties(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkQueueFamilyProperties | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkQueueFamilyProperties. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties. | |
| public static VkQueueFamilyProperties. | |
| protected VkQueueFamilyProperties | 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 VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties | create(long address)
Returns a new |
| public static VkQueueFamilyProperties. | create(int
the buffer capacity capacity)Returns a new |
| public static VkQueueFamilyProperties. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties. | |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkQueueFamilyProperties | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkQueueFamilyProperties. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties | |
| public static VkQueueFamilyProperties. | |
| public static VkQueueFamilyProperties. | |
| public VkExtent3D | minImageTransferGranularity()
the minimum granularity supported for image transfer operations on the queues in this queue family. |
| public static VkExtent3D | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | queueFlags()
a bitmask of |
| public int | |
| public int | timestampValidBits()
the unsigned integer count of meaningful bits in the timestamps written via |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MINIMAGETRANSFERGRANULARITY | back to summary |
|---|---|
| public static final int MINIMAGETRANSFERGRANULARITY The struct member offsets. | |
| QUEUECOUNT | back to summary |
|---|---|
| public static final int QUEUECOUNT The struct member offsets. | |
| QUEUEFLAGS | back to summary |
|---|---|
| public static final int QUEUEFLAGS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TIMESTAMPVALIDBITS | back to summary |
|---|---|
| public static final int TIMESTAMPVALIDBITS The struct member offsets. | |
| VkQueueFamilyProperties | back to summary |
|---|---|
| protected VkQueueFamilyProperties(long address, ByteBuffer container) | |
| VkQueueFamilyProperties | back to summary |
|---|---|
| public VkQueueFamilyProperties(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkQueueFamilyProperties create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkQueueFamilyProperties create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkQueueFamilyProperties create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkQueueFamilyProperties createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Like
| |
| malloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkQueueFamilyProperties. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| minImageTransferGranularity | back to summary |
|---|---|
| public VkExtent3D minImageTransferGranularity() the minimum granularity supported for image transfer operations on the queues in this queue family. | |
| nminImageTransferGranularity | back to summary |
|---|---|
| public static VkExtent3D nminImageTransferGranularity(long struct) Unsafe version of | |
| nqueueCount | back to summary |
|---|---|
| public static int nqueueCount(long struct) Unsafe version of | |
| nqueueFlags | back to summary |
|---|---|
| public static int nqueueFlags(long struct) Unsafe version of | |
| ntimestampValidBits | back to summary |
|---|---|
| public static int ntimestampValidBits(long struct) Unsafe version of | |
| queueCount | back to summary |
|---|---|
| public int queueCount() the unsigned integer count of queues in this queue family. Each queue family must support at least one queue.
| |
| queueFlags | back to summary |
|---|---|
| public int queueFlags() a bitmask of
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| timestampValidBits | back to summary |
|---|---|
| public int timestampValidBits() the unsigned integer count of meaningful bits in the timestamps written via
| |
VkQueueFamilyProperties structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkQueueFamilyProperties |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkQueueFamilyProperties | |
| public VkExtent3D | |
| public int | |
| public int | |
| protected VkQueueFamilyProperties. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkQueueFamilyProperties 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) | |
| getElementFactory | back to summary |
|---|---|
| protected VkQueueFamilyProperties getElementFactory() Implements abstract org.
| |
| minImageTransferGranularity | back to summary |
|---|---|
public VkExtent3D minImageTransferGranularity()
| |
| queueCount | back to summary |
|---|---|
public int queueCount()
| |
| queueFlags | back to summary |
|---|---|
public int queueFlags()
| |
| self | back to summary |
|---|---|
| protected VkQueueFamilyProperties. Implements abstract org.
| |
| timestampValidBits | back to summary |
|---|---|
public int timestampValidBits()
| |