npp opengl interop


Can some show me an example to use npp image processing with opengl?

Thank you!

The way NPP interoperates with OpenGL is the same as CUDA code interoperates with OpenGL. The CUDA C SDK contains a number of samples for OpenGL and CUDA C interoperability. The most basic one is “simpleGL”.