Class VkSurfaceFormatKHR

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


    public class VkSurfaceFormatKHR
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Describes a surface format.

    Valid Usage
    • format must be a valid VkFormat value
    • colorSpace must be a valid VkColorSpaceKHR value

    Member documentation

    • format – a VkFormat that is compatible with the surface
    • colorSpace – a presentation VkColorSpaceKHR that is compatible with the surface. Must be:
      COLOR_SPACE_SRGB_NONLINEAR_KHR

    Layout

    struct VkSurfaceFormatKHR {
        VkFormat format;
        VkColorSpaceKHR colorSpace;
    }