Struct SurfaceCaps

Surface capabilities

struct SurfaceCaps ;

Fields

NameTypeDescription
maxImages uintMaximum number of images supported by swapchains created for the surface these caps where queried for.
maxLayers uintMaximum number of array layers for this surface. At least one.
maxSize uint[2]Maximum size of the surface
minImages uintMinimum number of images necessary in a swapchain created for the surface these caps where queried for.
minSize uint[2]Minimum size of the surface
supportedAlpha CompositeAlphaSupported composition mode for the surface. At least one bit is always included. Opaque composition is always feasible by having no alpha channel or with alpha channel equals to 1.0.
usage ImageUsagePossible usages bits of the images of swapchains created for this image. At least ImageUsage.colorAttachment is included.

See Also

PhysicalDevice.surfaceCaps