@Check(value = "errcode_ret", canBeNull = true) @PointerWrapper(value = "cl_mem", params = "context") CLMem clCreateFromGLTexture(@PointerWrapper("cl_context") CLContext context, @NativeType("cl_mem_flags") long flags, @NativeType("GLenum") int target, @NativeType("GLint") int miplevel, @NativeType("GLuint") int texture, @OutParameter @Check(value = "1", canBeNull = true) @cl_int IntBuffer errcode_ret);