Class VkSurfaceFormatKHR

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

    public class VkSurfaceFormatKHR
    extends Struct
    implements NativeResource
    Structure describing a supported swapchain format-color space pair.

    Member documentation

    • format – a VkFormat that is compatible with the specified surface.
    • colorSpace – a presentation VkColorSpaceKHR that is compatible with the surface.

    Layout

    
     struct VkSurfaceFormatKHR {
         VkFormat format;
         VkColorSpaceKHR colorSpace;
     }