Code sample to show interoperability between ArrayFire and OpenGL.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
cugl_interop.cpp
shader.frag
shader.vert
shaders.h
utility.h

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