I’m trying to solve sample code “SobelFilter”.
Now…I could understand how to process each sub function.
But in the main function main(), what function is excuted by glutMainLoop()?
I think the main loop is included at SobelFilter_Kernels.cu, but I can understand how to connect algorithmic subfunction and glutMainLoop().
I searched website for glutMainLoop(). but I can’t understand it.
Does gerneral form like glutMainLoop(CallBacks)??
Other functions are formed as glutKeyboardFunc(Keyborard)…
Plz give me some hint…