Added another generic parameter

Closes https://github.com/PistonDevelopers/texture/issues/11
Merge pull request #12 from bvssvni/master

Added another generic parameter