Available on js
@:value(cast "balanced")@:enum@:implinlineread onlyBALANCED:DegradationPreference = "balanced"
@:value(cast "maintain-framerate")@:enum@:implinlineread onlyMAINTAIN_FRAMERATE:DegradationPreference = "maintain-framerate"
@:value(cast "maintain-resolution")@:enum@:implinlineread onlyMAINTAIN_RESOLUTION:DegradationPreference = "maintain-resolution"