Use flags to indicate texture properties instead of booleans