[][src]Function egls::apis::create_image_khr

pub fn create_image_khr(
    display: EGLDisplay,
    context: EGLContext,
    target: EGLenum,
    buffer: EGLClientBuffer,
    attrib_list: *const EGLint
) -> Result<EGLImage, Error>

Create a new EGLImage object (KHR Ext).

Parameters

  • display - Specifies the EGL display connection.
  • context - Specifies the client API context for which the image is created.
  • target - Specifies the type of resource used as the image source.
  • buffer - Specifies the resource to be used as the image source.
  • attrib_list - Specifies attributes used to select sub-sections of the resource to be used as the image source.