crispy::egl

Function attach_image_current

Source
unsafe fn attach_image_current(
    buf: DmabufImage,
) -> Result<DmabufImage, DmabufImportError>
Expand description

Creates a texture with the image attached.

An egl context must be current