/arrayfire_opengl_interop

Code sample to show interoperability between ArrayFire and OpenGL.

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ArrayFire OpenGL Interop

This project demonstrates OpenGL interoperability with ArrayFire.

File Description

  • 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

Despcription

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/

Forum

Any questions can be posted to the ArrayFire forums: http://forums.accelereyes.com/forums/viewforum.php?f=17