PhysicalDevice.surfaceFormats

Get the formats supported by the given surface.

interface PhysicalDevice
surfaceFormats

Parameters

surface Surface

the Surface to query the formats from

Return Value

Type: Format[]

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

Meta