ChromaticAberrationMode

Controls the quality and appearance of chromatic aberration (color dispersion) at the refraction edges.

Future minor releases may add entries. Keep an else branch when you match exhaustively with when.

Entries

Link copied to clipboard

Three-sample split: red shifted forward, green centered, blue shifted backward. Fast and suitable for most use cases.

Link copied to clipboard

Seven-sample spectral decomposition with position-dependent intensity. More physically realistic but significantly more expensive.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int