Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

ROOM_SURF_WARP_SUBDIVIDED_COUNT

Constant ROOM_SURF_WARP_SUBDIVIDED_COUNT 

Source
pub const ROOM_SURF_WARP_SUBDIVIDED_COUNT: u16 = 242;
Expand description

Warp probe (read-only diagnostic, room-surface-profile only).

Room surfaces bucketed by the closed-form predicted affine texture error from docs/texture-warping-2026-07-27.md, cross-tabbed against what the depth-band subdivision rule actually decided. Buckets are <1, 1..2, 2..4 and >=4 calibrated texels.

Error is reported as count / sum / max in 1/16 texel units rather than as buckets: a first run bucketed it and put 99% of surfaces in the top bin, which answers nothing. Sum and count give the mean; max gives the worst case. ..._UNDER_1TX is the one bucket worth keeping, since “subdivided a surface that could not warp” is wasted primitives.