Code sample to show interoperability between ArrayFire and OpenGL.
C++ C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Renamed cpp, added gitignore Jan 7, 2014
LICENSE
Makefile
README.md
cugl_interop.cpp Renamed cpp, added gitignore Jan 7, 2014
shader.frag
shader.vert
shaders.h
utility.h Renamed util_shaders.hpp -> shaders.h Jan 7, 2014

README.md

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