Function ocl_core::create_from_gl_texture_2d
[−]
[src]
pub unsafe fn create_from_gl_texture_2d<C>(
context: C,
texture_target: cl_GLenum,
miplevel: cl_GLint,
texture: cl_GLuint,
flags: MemFlags
) -> OclResult<Mem> where
C: ClContextPtr,
[UNTESTED] [DEPRICATED]
Return a texture2D pointer from a OpenGL
texture2D object.