pub unsafe fn create_from_gl_buffer<C>(
    context: C,
    gl_object: cl_GLuint,
    flags: MemFlags
) -> OclCoreResult<Mem>where
    C: ClContextPtr,
Expand description

Return a buffer pointer from a OpenGL buffer object.

Safety

The caller must ensure that correct and appropriate flags are being used.