WPEPlatform.BufferDMABufFormats.get_group_device

### Method

# WPEPlatform BufferDMABufFormatsget_group_device

#### Declaration [src]

    WPEDRMDevice*
    wpe_buffer_dma_buf_formats_get_group_device (
      WPEBufferDMABufFormats* formats,
      guint group
    )

#### Description [src]

Get the target DRM device of `group` in `formats`.

#### Parameters

`group`

  Type: `guint`

  A group index.

#### Return value

Type: `WPEDRMDevice`

A `WPEDRMDevice` or `NULL`.

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