MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / brightness_contrast

Function brightness_contrast

node-graph/nodes/raster/src/adjustments.rs:177–247  ·  view source on GitHub ↗
(
	_ctx: impl Ctx,
	#[implementations(
		List<Raster<CPU>>,
		List<Color>,
		List<GradientStops>,
	)]
	#[gpu_image]
	mut input: T,
	brightness: SignedPercentageF32,
	contrast: SignedPercentageF32,
	us

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

absMethod · 0.80
solveMethod · 0.80
interpolateMethod · 0.80
adjustMethod · 0.80
map_gamma_rgbMethod · 0.80
minMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected