Cogl.Texture2D.new_from_egl_image_external
Description: Reference for Cogl.Texture2D.new_from_egl_image_external

### Constructor

# Cogl Texture2Dnew_from_egl_image_external

#### Declaration [src]

    CoglTexture2D*
    cogl_texture_2d_new_from_egl_image_external (
      CoglContext* ctx,
      int width,
      int height,
      CoglTexture2DEGLImageExternalAlloc alloc,
      gpointer user_data,
      GDestroyNotify destroy,
      GError** error
    )

#### Description

No description available.

This constructor is not directly available to language bindings

#### Parameters

`ctx` | `CoglContext`
| No description available.
| The data is owned by the caller of the function.
`width` | `int`
| No description available.
`height` | `int`
| No description available.
`alloc` | `CoglTexture2DEGLImageExternalAlloc`
| No description available.
`user_data` | `gpointer`
| No description available.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`destroy` | `GDestroyNotify`
| No description available.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `CoglTexture2D`
| No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it.