@:value(cast 0)@:enum@:implinlineread onlyDefault:PowerPreference = 0
@:value(cast 1)@:enum@:implinlineread onlyLowPower:PowerPreference = 1
@:value(cast 2)@:enum@:implinlineread onlyHighPerformance:PowerPreference = 2