WPEPlatform.Toplevel.get_preferred_buffer_formats

### Method

# WPEPlatform Toplevelget_preferred_buffer_formats

#### Declaration [src]

    WPEBufferFormats*
    wpe_toplevel_get_preferred_buffer_formats (
      WPEToplevel* toplevel
    )

#### Description [src]

Get the list of preferred buffer formats for `toplevel`.

#### Return value

Type: `WPEBufferFormats`

A `WPEBufferFormats`.

The returned data is owned by the instance.
The return value can be `NULL`.