Function

Coglegl_texture_2d_new_from_image

Declaration [src]

CoglTexture2D*
cogl_egl_texture_2d_new_from_image (
  CoglContext* ctx,
  int width,
  int height,
  CoglPixelFormat format,
  EGLImageKHR image,
  CoglEglImageFlags flags,
  GError** error
)

Description

No description available.

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.
format CoglPixelFormat
  No description available.
image EGLImageKHR
  No description available.
flags CoglEglImageFlags
  No description available.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: CoglTexture2D
  No description available.
 The data is owned by the called function.