Type Method


Returns a new format configured for the highest fidelity supported by the current device.


class func `default`() -> Self

Return Value

An initialized format.


The returned format object always represents the device's highest fidelity, regardless of the actual fidelity currently employed by the device. A graphics renderer uses this method to create a format at initialization time if you use an initializer that does not have a format argument.

This property doesn't always return a format that's optimized for the current configuration of the main screen. If you're rendering content for immediate display, it's recommended that you use preferred() instead of this property.