mordrek's picture

Access Gl texture from OpenCl.Net?


Computing with OpenCl.Net works like a charm, but I'd like to alter a texture with it.
Sure I can do the OpenCl computations, upload to mem and then download to Gl texture, but that doesn't seem efficient.

Is there some way I can access Gl texture from OpenCl (or vice versa)?

I can only find examples with Cloo and OpenTK, but not with OpenCl.Net and OpenTK.
Nowhere can I find CreateFromGLBuffer or similar :(