Function PhysicalDevice.surfaceFormats

Get the formats supported by the given surface.

abstract Format[] surfaceFormats (
  Surface surface
);

Parameters

NameDescription
surface the Surface to query the formats from

Returns

the formats supported by the surface. [ Formats.undefined ] can be returned to indicate that any format is supported.