Use is_valid_TextureTarget generated texture target validator