This project demonstrates OpenGL interoperability with ArrayFire.
- cugl_interop.cpp This file shows how to use ArrayFire with OpenGL and CUDA.
- utility.h Contains useful OpenGL and ArrayFire function.
- shaders.h Contains code to load and compile shaders.
- shader.vert Vertex shader
- shader.frag Fragment shader
- Makefile Linux makefile for compilation
The description for this code can be found on the ArrayFire blogs page: http://blog.accelereyes.com/blog/2014/01/07/arrayfire-opengl-interop-using-cuda/
Any questions can be posted to the ArrayFire forums: http://forums.accelereyes.com/forums/viewforum.php?f=17