The internal energy of an ideal gas depends on:
Pressure
Volume
Temperature
Type of gas
Internal energy of an ideal gas depends only on its internal kinetic energy which in turns depends only on the temperature of the gas.