https://github.com/arrayfire/arrayfire_opengl_interop
Code sample to show interoperability between ArrayFire and OpenGL.
https://github.com/arrayfire/arrayfire_opengl_interop
Last synced: 4 months ago
JSON representation
Code sample to show interoperability between ArrayFire and OpenGL.
- Host: GitHub
- URL: https://github.com/arrayfire/arrayfire_opengl_interop
- Owner: arrayfire
- License: bsd-3-clause
- Created: 2014-01-07T21:46:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-09-01T13:58:58.000Z (over 10 years ago)
- Last Synced: 2025-07-08T08:44:18.938Z (6 months ago)
- Language: C++
- Size: 139 KB
- Stars: 12
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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