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

Function gamma_correction

node-graph/nodes/raster/src/adjustments.rs:78–97  ·  view source on GitHub ↗
(
	_: impl Ctx,
	#[implementations(
		List<Raster<CPU>>,
		List<Color>,
		List<GradientStops>,
	)]
	#[gpu_image]
	mut input: T,
	#[default(2.2)]
	#[range]
	#[hard(0.0001..)]
	#[soft(0.01..10)]
	gamma:

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

adjustMethod · 0.80
apply_gamma_exponentMethod · 0.80

Tested by

no test coverage detected