Cogl.DmaBufHandle.new
Description: Reference for Cogl.DmaBufHandle.new

### Function

# Cogl DmaBufHandlenew

#### Declaration [src]

    CoglDmaBufHandle*
    cogl_dma_buf_handle_new (
      CoglFramebuffer* framebuffer,
      int width,
      int height,
      uint32_t format,
      uint64_t modifier,
      int n_planes,
      int* fds,
      uint32_t* strides,
      uint32_t* offsets,
      int bpp,
      gpointer user_data,
      GDestroyNotify destroy_func
    )

#### Description

No description available.

This function is not directly available to language bindings.

#### Parameters

`framebuffer`

  Type: `CoglFramebuffer`

  No description available.

  The data is owned by the caller of the function.

`width`

  Type: `int`

  No description available.

`height`

  Type: `int`

  No description available.

`format`

  Type: `uint32_t`

  No description available.

`modifier`

  Type: `uint64_t`

  No description available.

`n_planes`

  Type: `int`

  No description available.

`fds`

  Type: `int*`

  No description available.

  The data is owned by the caller of the function.

`strides`

  Type: `uint32_t*`

  No description available.

  The data is owned by the caller of the function.

`offsets`

  Type: `uint32_t*`

  No description available.

  The data is owned by the caller of the function.

`bpp`

  Type: `int`

  No description available.

`user_data`

  Type: `gpointer`

  No description available.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`destroy_func`

  Type: `GDestroyNotify`

  No description available.

#### Return value

Type: `CoglDmaBufHandle`

No description available.

The data is owned by the called function.