Builder

actual class Builder

Builder for creating ColorGrading instances.

Configure color grading settings such as exposure, contrast, saturation, and tone mapping, then call build() to create the ColorGrading object.

expect class Builder

Builder for creating ColorGrading instances.

Configure color grading settings such as exposure, contrast, saturation, and tone mapping, then call build() to create the ColorGrading object.

actual class Builder

Builder for creating ColorGrading instances.

Configure color grading settings such as exposure, contrast, saturation, and tone mapping, then call build() to create the ColorGrading object.

actual class Builder

Builder for creating ColorGrading instances.

Configure color grading settings such as exposure, contrast, saturation, and tone mapping, then call build() to create the ColorGrading object.

actual class Builder

Builder for creating ColorGrading instances.

Configure color grading settings such as exposure, contrast, saturation, and tone mapping, then call build() to create the ColorGrading object.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Functions

Link copied to clipboard
actual fun build(engine: Engine): ColorGrading

Creates the ColorGrading object.

expect fun build(engine: Engine): ColorGrading

Creates the ColorGrading object.

actual fun build(engine: Engine): ColorGrading

Creates the ColorGrading object.

actual fun build(engine: Engine): ColorGrading

Creates the ColorGrading object.

actual fun build(engine: Engine): ColorGrading

Creates the ColorGrading object.

Link copied to clipboard
actual fun channelMixer(outRed: FloatArray, outGreen: FloatArray, outBlue: FloatArray): ColorGrading.Builder

Sets the channel mixer to adjust individual color channels.

expect fun channelMixer(outRed: FloatArray, outGreen: FloatArray, outBlue: FloatArray): ColorGrading.Builder

Sets the channel mixer to adjust individual color channels.

actual fun channelMixer(outRed: FloatArray, outGreen: FloatArray, outBlue: FloatArray): ColorGrading.Builder

Sets the channel mixer to adjust individual color channels.

actual fun channelMixer(outRed: FloatArray, outGreen: FloatArray, outBlue: FloatArray): ColorGrading.Builder

Sets the channel mixer to adjust individual color channels.

actual fun channelMixer(outRed: FloatArray, outGreen: FloatArray, outBlue: FloatArray): ColorGrading.Builder

Sets the channel mixer to adjust individual color channels.

Link copied to clipboard
actual fun contrast(contrast: Float): ColorGrading.Builder

Sets the contrast adjustment.

expect fun contrast(contrast: Float): ColorGrading.Builder

Sets the contrast adjustment.

actual fun contrast(contrast: Float): ColorGrading.Builder

Sets the contrast adjustment.

actual fun contrast(contrast: Float): ColorGrading.Builder

Sets the contrast adjustment.

actual fun contrast(contrast: Float): ColorGrading.Builder

Sets the contrast adjustment.

Link copied to clipboard
actual fun curves(shadowGamma: FloatArray, midPoint: FloatArray, highlightScale: FloatArray): ColorGrading.Builder

Sets curve adjustments for shadows, midtones, and highlights.

expect fun curves(shadowGamma: FloatArray, midPoint: FloatArray, highlightScale: FloatArray): ColorGrading.Builder

Sets curve adjustments for shadows, midtones, and highlights.

actual fun curves(shadowGamma: FloatArray, midPoint: FloatArray, highlightScale: FloatArray): ColorGrading.Builder

Sets curve adjustments for shadows, midtones, and highlights.

actual fun curves(shadowGamma: FloatArray, midPoint: FloatArray, highlightScale: FloatArray): ColorGrading.Builder

Sets curve adjustments for shadows, midtones, and highlights.

actual fun curves(shadowGamma: FloatArray, midPoint: FloatArray, highlightScale: FloatArray): ColorGrading.Builder

Sets curve adjustments for shadows, midtones, and highlights.

Link copied to clipboard

Sets the dimensions of the color grading LUT (3D cube side length).

Sets the dimensions of the color grading LUT (3D cube side length).

Sets the dimensions of the color grading LUT (3D cube side length).

Sets the dimensions of the color grading LUT (3D cube side length).

Sets the dimensions of the color grading LUT (3D cube side length).

Link copied to clipboard
actual fun exposure(exposure: Float): ColorGrading.Builder

Adjusts the exposure of the image in exposure value (EV) stops.

expect fun exposure(exposure: Float): ColorGrading.Builder

Adjusts the exposure of the image in exposure value (EV) stops.

actual fun exposure(exposure: Float): ColorGrading.Builder

Adjusts the exposure of the image in exposure value (EV) stops.

actual fun exposure(exposure: Float): ColorGrading.Builder

Adjusts the exposure of the image in exposure value (EV) stops.

actual fun exposure(exposure: Float): ColorGrading.Builder

Adjusts the exposure of the image in exposure value (EV) stops.

Link copied to clipboard
actual fun fastMath(fastMath: Boolean): ColorGrading.Builder

Enables or disables fast math approximations.

expect fun fastMath(fastMath: Boolean): ColorGrading.Builder

Enables or disables fast math approximations.

actual fun fastMath(fastMath: Boolean): ColorGrading.Builder

Enables or disables fast math approximations.

actual fun fastMath(fastMath: Boolean): ColorGrading.Builder

Enables or disables fast math approximations.

actual fun fastMath(fastMath: Boolean): ColorGrading.Builder

Enables or disables fast math approximations.

Link copied to clipboard

Sets the format of the color grading LUT.

Sets the format of the color grading LUT.

Sets the format of the color grading LUT.

Sets the format of the color grading LUT.

Sets the format of the color grading LUT.

Link copied to clipboard
actual fun gamutMapping(gamutMapping: Boolean): ColorGrading.Builder

Enables or disables gamut mapping.

expect fun gamutMapping(gamutMapping: Boolean): ColorGrading.Builder

Enables or disables gamut mapping.

actual fun gamutMapping(gamutMapping: Boolean): ColorGrading.Builder

Enables or disables gamut mapping.

actual fun gamutMapping(gamutMapping: Boolean): ColorGrading.Builder

Enables or disables gamut mapping.

actual fun gamutMapping(gamutMapping: Boolean): ColorGrading.Builder

Enables or disables gamut mapping.

Link copied to clipboard
actual fun luminanceScaling(luminanceScaling: Boolean): ColorGrading.Builder

Enables or disables luminance scaling.

expect fun luminanceScaling(luminanceScaling: Boolean): ColorGrading.Builder

Enables or disables luminance scaling.

actual fun luminanceScaling(luminanceScaling: Boolean): ColorGrading.Builder

Enables or disables luminance scaling.

actual fun luminanceScaling(luminanceScaling: Boolean): ColorGrading.Builder

Enables or disables luminance scaling.

actual fun luminanceScaling(luminanceScaling: Boolean): ColorGrading.Builder

Enables or disables luminance scaling.

Link copied to clipboard
actual fun nightAdaptation(adaptation: Float): ColorGrading.Builder

Controls the amount of night adaptation to replicate low-light vision.

expect fun nightAdaptation(adaptation: Float): ColorGrading.Builder

Controls the amount of night adaptation to replicate low-light vision.

actual fun nightAdaptation(adaptation: Float): ColorGrading.Builder

Controls the amount of night adaptation to replicate low-light vision.

actual fun nightAdaptation(adaptation: Float): ColorGrading.Builder

Controls the amount of night adaptation to replicate low-light vision.

actual fun nightAdaptation(adaptation: Float): ColorGrading.Builder

Controls the amount of night adaptation to replicate low-light vision.

Link copied to clipboard

Sets the quality level of the color grading LUT.

Sets the quality level of the color grading LUT.

Sets the quality level of the color grading LUT.

Sets the quality level of the color grading LUT.

Sets the quality level of the color grading LUT.

Link copied to clipboard
actual fun saturation(saturation: Float): ColorGrading.Builder

Sets the saturation adjustment.

expect fun saturation(saturation: Float): ColorGrading.Builder

Sets the saturation adjustment.

actual fun saturation(saturation: Float): ColorGrading.Builder

Sets the saturation adjustment.

actual fun saturation(saturation: Float): ColorGrading.Builder

Sets the saturation adjustment.

actual fun saturation(saturation: Float): ColorGrading.Builder

Sets the saturation adjustment.

Link copied to clipboard
actual fun shadowsMidtonesHighlights(shadows: FloatArray, midtones: FloatArray, highlights: FloatArray, ranges: FloatArray): ColorGrading.Builder

Sets shadows, midtones, and highlights adjustments.

expect fun shadowsMidtonesHighlights(shadows: FloatArray, midtones: FloatArray, highlights: FloatArray, ranges: FloatArray): ColorGrading.Builder

Sets shadows, midtones, and highlights adjustments.

actual fun shadowsMidtonesHighlights(shadows: FloatArray, midtones: FloatArray, highlights: FloatArray, ranges: FloatArray): ColorGrading.Builder

Sets shadows, midtones, and highlights adjustments.

actual fun shadowsMidtonesHighlights(shadows: FloatArray, midtones: FloatArray, highlights: FloatArray, ranges: FloatArray): ColorGrading.Builder

Sets shadows, midtones, and highlights adjustments.

actual fun shadowsMidtonesHighlights(shadows: FloatArray, midtones: FloatArray, highlights: FloatArray, ranges: FloatArray): ColorGrading.Builder

Sets shadows, midtones, and highlights adjustments.

Link copied to clipboard

Sets slope, offset, and power adjustments (ASC CDL).

Sets slope, offset, and power adjustments (ASC CDL).

Sets slope, offset, and power adjustments (ASC CDL).

Sets slope, offset, and power adjustments (ASC CDL).

Sets slope, offset, and power adjustments (ASC CDL).

Link copied to clipboard
actual fun toneMapper(toneMapper: ToneMapper): ColorGrading.Builder

Sets the tone mapper to use for tone mapping.

expect fun toneMapper(toneMapper: ToneMapper): ColorGrading.Builder

Sets the tone mapper to use for tone mapping.

actual fun toneMapper(toneMapper: ToneMapper): ColorGrading.Builder

Sets the tone mapper to use for tone mapping.

actual fun toneMapper(toneMapper: ToneMapper): ColorGrading.Builder

Sets the tone mapper to use for tone mapping.

actual fun toneMapper(toneMapper: ToneMapper): ColorGrading.Builder

Sets the tone mapper to use for tone mapping.

Link copied to clipboard
actual fun vibrance(vibrance: Float): ColorGrading.Builder

Sets the vibrance adjustment (selective saturation).

expect fun vibrance(vibrance: Float): ColorGrading.Builder

Sets the vibrance adjustment (selective saturation).

actual fun vibrance(vibrance: Float): ColorGrading.Builder

Sets the vibrance adjustment (selective saturation).

actual fun vibrance(vibrance: Float): ColorGrading.Builder

Sets the vibrance adjustment (selective saturation).

actual fun vibrance(vibrance: Float): ColorGrading.Builder

Sets the vibrance adjustment (selective saturation).

Link copied to clipboard
actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

expect fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.