OSSingleton.setNativeIcon

Sets the game's icon using a multi-size platform-specific icon file (*.ico on Windows and *.icns on macOS). Appropriate size sub-icons are used for window caption, taskbar/dock and window selection dialog. Note: This method is implemented on macOS and Windows.

struct OSSingleton
@nogc nothrow
void
setNativeIcon
(
in String filename
)

Meta