Class VkImageFormatProperties2

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkImageFormatProperties2>
org.lwjgl.vulkan.VkImageFormatProperties2
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkImageFormatProperties2KHR

public class VkImageFormatProperties2 extends org.lwjgl.system.Struct<VkImageFormatProperties2> implements org.lwjgl.system.NativeResource
Structure specifying an image format properties.
Description

If the combination of parameters to vkGetPhysicalDeviceImageFormatProperties2 is not supported by the implementation for use in CreateImage, then all members of imageFormatProperties will be filled with zero.

Note

Filling imageFormatProperties with zero for unsupported formats is an exception to the usual rule that output structures have undefined contents on error. This exception was unintentional, but is preserved for backwards compatibility. This exception only applies to imageFormatProperties, not sType, pNext, or any structures chained from pNext.

Valid Usage (Implicit)
See Also

VkImageFormatProperties, GetPhysicalDeviceImageFormatProperties2, GetPhysicalDeviceImageFormatProperties2KHR

Layout


 struct VkImageFormatProperties2 {
     VkStructureType sType();
     void * pNext();
     VkImageFormatProperties imageFormatProperties();
 }