If the drmFormatModifier is incompatible with the parameters specified in VkPhysicalDeviceImageFormatInfo2 and its pNext chain, then GetPhysicalDeviceImageFormatProperties2 returns ERROR_FORMAT_NOT_SUPPORTED. The implementation must support the query of any drmFormatModifier, including unknown and invalid modifier values.
sharingMode is SHARING_MODE_CONCURRENT, then pQueueFamilyIndices must be a valid pointer to an array of queueFamilyIndexCount uint32_t valuessharingMode is SHARING_MODE_CONCURRENT, then queueFamilyIndexCount must be greater than 1sharingMode is SHARING_MODE_CONCURRENT, each element of pQueueFamilyIndices must be unique and must be less than the pQueueFamilyPropertyCount returned by GetPhysicalDeviceQueueFamilyProperties2 for the physicalDevice that was used to create devicesType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXTsharingMode must be a valid VkSharingMode value
struct VkPhysicalDeviceImageDrmFormatModifierInfoEXT {
VkStructureType sType;
void const * pNext;
uint64_t drmFormatModifier;
VkSharingMode sharingMode;
uint32_t queueFamilyIndexCount;
uint32_t const * pQueueFamilyIndices;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DRMFORMATMODIFIER
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PQUEUEFAMILYINDICES
The struct member offsets. |
| public static final int | QUEUEFAMILYINDEXCOUNT
The struct member offsets. |
| public static final int | SHARINGMODE
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 | VkPhysicalDeviceImageDrmFormatModifierInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | |
| protected VkPhysicalDeviceImageDrmFormatModifierInfoEXT | 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 VkPhysicalDeviceImageDrmFormatModifierInfoEXT | create()
Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | |
| public long | drmFormatModifier()
the image’s Linux DRM format modifier, corresponding to |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | |
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static int | |
| public static void | nqueueFamilyIndexCount(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 VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public IntBuffer | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | pQueueFamilyIndices(IntBuffer value)
Sets the address of the specified |
| public int | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public int | |
| public int | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | |
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DRMFORMATMODIFIER | back to summary |
|---|---|
| public static final int DRMFORMATMODIFIER The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PQUEUEFAMILYINDICES | back to summary |
|---|---|
| public static final int PQUEUEFAMILYINDICES The struct member offsets. | |
| QUEUEFAMILYINDEXCOUNT | back to summary |
|---|---|
| public static final int QUEUEFAMILYINDEXCOUNT The struct member offsets. | |
| SHARINGMODE | back to summary |
|---|---|
| public static final int SHARINGMODE 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. | |
| VkPhysicalDeviceImageDrmFormatModifierInfoEXT | back to summary |
|---|---|
| protected VkPhysicalDeviceImageDrmFormatModifierInfoEXT(long address, ByteBuffer container) | |
| VkPhysicalDeviceImageDrmFormatModifierInfoEXT | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceImageDrmFormatModifierInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Like
| |
| drmFormatModifier | back to summary |
|---|---|
| public long drmFormatModifier() the image’s Linux DRM format modifier, corresponding to
| |
| drmFormatModifier | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT drmFormatModifier(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndrmFormatModifier | back to summary |
|---|---|
| public static long ndrmFormatModifier(long struct) Unsafe version of | |
| ndrmFormatModifier | back to summary |
|---|---|
| public static void ndrmFormatModifier(long struct, long 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 | |
| npQueueFamilyIndices | back to summary |
|---|---|
| public static IntBuffer npQueueFamilyIndices(long struct) Unsafe version of
| |
| npQueueFamilyIndices | back to summary |
|---|---|
| public static void npQueueFamilyIndices(long struct, IntBuffer value) Unsafe version of | |
| nqueueFamilyIndexCount | back to summary |
|---|---|
| public static int nqueueFamilyIndexCount(long struct) Unsafe version of | |
| nqueueFamilyIndexCount | back to summary |
|---|---|
| public static void nqueueFamilyIndexCount(long struct, int value) Sets the specified value to the | |
| nsharingMode | back to summary |
|---|---|
| public static int nsharingMode(long struct) Unsafe version of | |
| nsharingMode | back to summary |
|---|---|
| public static void nsharingMode(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 VkPhysicalDeviceImageDrmFormatModifierInfoEXT pNext(long value) Sets the specified value to the | |
| pQueueFamilyIndices | back to summary |
|---|---|
| public IntBuffer pQueueFamilyIndices() a pointer to an array of queue families that will access the image. It is ignored if
| |
| pQueueFamilyIndices | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT pQueueFamilyIndices(IntBuffer value) Sets the address of the specified | |
| queueFamilyIndexCount | back to summary |
|---|---|
| public int queueFamilyIndexCount() the number of entries in the
| |
| queueFamilyIndexCount | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT queueFamilyIndexCount(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT set(int sType, long pNext, long drmFormatModifier, int sharingMode, int queueFamilyIndexCount, IntBuffer pQueueFamilyIndices) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT set(VkPhysicalDeviceImageDrmFormatModifierInfoEXT src) Copies the specified struct data to this struct.
| |
| sharingMode | back to summary |
|---|---|
| public int sharingMode() specifies how the image will be accessed by multiple queue families.
| |
| sharingMode | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT sharingMode(int value) Sets the specified value to the | |
| 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 VkPhysicalDeviceImageDrmFormatModifierInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT sType$Default() Sets the | |
VkPhysicalDeviceImageDrmFormatModifierInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceImageDrmFormatModifierInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceImageDrmFormatModifierInfoEXT 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) | |
| drmFormatModifier | back to summary |
|---|---|
public long drmFormatModifier()
| |
| drmFormatModifier | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceImageDrmFormatModifierInfoEXT getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the specified value to the | |
| pQueueFamilyIndices | back to summary |
|---|---|
public IntBuffer pQueueFamilyIndices()
| |
| pQueueFamilyIndices | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the address of the specified | |
| queueFamilyIndexCount | back to summary |
|---|---|
public int queueFamilyIndexCount()
| |
| queueFamilyIndexCount | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Implements abstract org.
| |
| sharingMode | back to summary |
|---|---|
public int sharingMode()
| |
| sharingMode | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceImageDrmFormatModifierInfoEXT. Sets the | |