[−][src]Function egls::apis::create_image
pub fn create_image(
display: EGLDisplay,
context: EGLContext,
target: EGLenum,
buffer: EGLClientBuffer,
attrib_list: *const EGLAttrib
) -> Result<EGLImage, Error>
Create a new EGLImage object.
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.