Function ocl_core::create_from_gl_buffer
[−]
[src]
pub unsafe fn create_from_gl_buffer<C>(
context: C,
gl_object: cl_GLuint,
flags: MemFlags
) -> OclResult<Mem> where
C: ClContextPtr,
[UNTESTED]
Return a buffer pointer from a OpenGL
buffer object.