Class VkFormatProperties

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkFormatProperties
    extends Struct
    implements NativeResource
    Structure specifying image format properties.
    Description
    Note

    If no format feature flags are supported, the format itself is not supported, and images of that format cannot be created.

    If format is a block-compression format, then bufferFeatures must not support any features for the format.

    If format is a multi-plane format then linearTilingFeatures and optimalTilingFeatures must not contain FORMAT_FEATURE_DISJOINT_BIT.

    See Also

    VkFormatProperties2, GetPhysicalDeviceFormatProperties

    Member documentation

    • linearTilingFeatures – a bitmask of VkFormatFeatureFlagBits specifying features supported by images created with a tiling parameter of IMAGE_TILING_LINEAR.
    • optimalTilingFeatures – a bitmask of VkFormatFeatureFlagBits specifying features supported by images created with a tiling parameter of IMAGE_TILING_OPTIMAL.
    • bufferFeatures – a bitmask of VkFormatFeatureFlagBits specifying features supported by buffers.

    Layout

    
     struct VkFormatProperties {
         VkFormatFeatureFlags linearTilingFeatures;
         VkFormatFeatureFlags optimalTilingFeatures;
         VkFormatFeatureFlags bufferFeatures;
     }