I was trying to learn how to use shader in SFML, I encountered the Effect virtual class, and I wanted to know what were the argument of the update() function and where was it called.
I tried to setup the examples using CMake, I got an error:
CMake Error at ftp/CMakeLists.txt:8 (sfml_add_example):
Unknown CMake command "sfml_add_example".
I could not find the source of SFML 1.6 either.
So how are those effects class used ? Where can I see the full code of those examples, meaning the main() ?