euv-core 0.57.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Fixed histogram bin count for log-luminance auto-exposure adaptation.
pub const POSTFX_HISTOGRAM_BINS: usize = 64;

/// Maximum bloom mip-chain pyramid depth supported by `PostFxPipeline3D`.
pub const POSTFX_MAX_BLOOM_MIPS: usize = 6;

/// Upper linear HDR radiance clamp (`FP16 max`) guarding bloom and histogram passes against extreme spikes.
pub const POSTFX_MAX_HDR_RADIANCE: f32 = 65_504.0;

/// FXAA relative contrast edge detection threshold.
pub(crate) const FXAA_EDGE_THRESHOLD: f32 = 0.125;

/// FXAA absolute minimum luma contrast threshold skipping dark flat regions.
pub(crate) const FXAA_EDGE_THRESHOLD_MIN: f32 = 0.0312;

/// FXAA sub-pixel aliasing blend strength.
pub(crate) const FXAA_SUBPIX_QUALITY: f32 = 0.75;