MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / set_auto_exposure

Method set_auto_exposure

native/shared/src/renderer/mod.rs:7748–7750  ·  view source on GitHub ↗

Toggle auto-exposure. Off (default) = manual exposure multiplier. On = per-frame average scene luminance drives exposure toward `auto_exposure_key` (0.18 photography standard). Instant adapt — no inter-frame smoothing yet, so scene cuts pop. Fine for static or slow-motion cameras.

(&mut self, on: bool)

Source from the content-addressed store, hash-verified

7746 /// standard). Instant adapt — no inter-frame smoothing yet,
7747 /// so scene cuts pop. Fine for static or slow-motion cameras.
7748 pub fn set_auto_exposure(&mut self, on: bool) {
7749 self.auto_exposure = on;
7750 }
7751
7752 /// Manual exposure multiplier. Applied when auto_exposure
7753 /// is off. 1.0 = no change. 2.0 = twice as bright. Clamp is

Callers 5

bloom_set_auto_exposureFunction · 0.80
bloom_set_auto_exposureFunction · 0.80
bloom_set_auto_exposureFunction · 0.80
bloom_set_auto_exposureFunction · 0.80
bloom_set_auto_exposureFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected