Added another generic parameter

Closes https://github.com/PistonDevelopers/texture/issues/11