Completed shader effect API.
Updated documentation.