HiresConfigDto

@Serializable
internal data class HiresConfigDto(val enabled: Boolean = false, val upscaler: String = "None", val scale: Float = 2.0f, val steps: Int = 0, val denoisingStrength: Float = 0.4f, val hrCfg: Float? = null, val hrDistilledCfg: Float? = null)(source)

Carries HiresConfigDto data through the SDAI background work feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, upscaler: String = "None", scale: Float = 2.0f, steps: Int = 0, denoisingStrength: Float = 0.4f, hrCfg: Float? = null, hrDistilledCfg: Float? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Exposes the denoisingStrength value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the enabled value used by the SDAI background work feature layer.

Link copied to clipboard
val hrCfg: Float?

Exposes the hrCfg value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the hrDistilledCfg value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the scale value used by the SDAI background work feature layer.

Link copied to clipboard
val steps: Int

Exposes the steps value used by the SDAI background work feature layer.

Link copied to clipboard

Exposes the upscaler value used by the SDAI background work feature layer.

Functions

Link copied to clipboard

Converts SDAI data with toDomain.