The members of VkPhysicalDeviceImageFormatInfo2 correspond to the arguments to GetPhysicalDeviceImageFormatProperties, with sType and pNext added for extensibility.
tiling must be IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT if and only if the pNext chain includes VkPhysicalDeviceImageDrmFormatModifierInfoEXTtiling is IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT and flags contains IMAGE_CREATE_MUTABLE_FORMAT_BIT, then the pNext chain must include a VkImageFormatListCreateInfo structure with non-zero viewFormatCountsType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkImageCompressionControlEXT, VkImageFormatListCreateInfo, VkImageStencilUsageCreateInfo, VkOpticalFlowImageFormatInfoNV, VkPhysicalDeviceExternalImageFormatInfo, VkPhysicalDeviceImageDrmFormatModifierInfoEXT, VkPhysicalDeviceImageViewImageFormatInfoEXT, or VkVideoProfileListInfoKHRsType value of each struct in the pNext chain must be uniqueformat must be a valid VkFormat valuetype must be a valid VkImageType valuetiling must be a valid VkImageTiling valueusage must be a valid combination of VkImageUsageFlagBits valuesusage must not be 0flags must be a valid combination of VkImageCreateFlagBits valuesGetPhysicalDeviceImageFormatProperties2, GetPhysicalDeviceImageFormatProperties2KHR
struct VkPhysicalDeviceImageFormatInfo2 {
VkStructureType sType;
void const * pNext;
VkFormat format;
VkImageType type;
VkImageTiling tiling;
VkImageUsageFlags usage;
VkImageCreateFlags flags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPhysicalDeviceImageFormatInfo2.
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 | FORMAT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | TILING
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | USAGE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceImageFormatInfo2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2. | |
| public static VkPhysicalDeviceImageFormatInfo2. | |
| protected VkPhysicalDeviceImageFormatInfo2 | 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 VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2 | create(long address)
Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2. | |
| public int | flags()
a bitmask of |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public int | |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2 | |
| public static VkPhysicalDeviceImageFormatInfo2. | |
| public static VkPhysicalDeviceImageFormatInfo2. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkImageCompressionControlEXT value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkImageFormatListCreateInfo value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkImageFormatListCreateInfoKHR value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkImageStencilUsageCreateInfo value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkImageStencilUsageCreateInfoEXT value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkOpticalFlowImageFormatInfoNV value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkPhysicalDeviceExternalImageFormatInfo value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkPhysicalDeviceExternalImageFormatInfoKHR value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkPhysicalDeviceImageDrmFormatModifierInfoEXT value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkPhysicalDeviceImageViewImageFormatInfoEXT value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | pNext(VkVideoProfileListInfoKHR value)
Prepends the specified |
| public VkPhysicalDeviceImageFormatInfo2 | set(int sType, long pNext, int format, int type, int tiling, int usage, int flags)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceImageFormatInfo2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public VkPhysicalDeviceImageFormatInfo2 | sType$Default()
Sets the |
| public int | tiling()
a |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public int | |
| public VkPhysicalDeviceImageFormatInfo2 | |
| public int | usage()
a bitmask of |
| public VkPhysicalDeviceImageFormatInfo2 |