makepad/examples/box3d
2026-10-01 15:10:18 +02:00
..
src platform: a DrawPass API for the pass graph and its camera, so nothing pokes cx.passes[id] (C10) -- Cx::set_pass_parent / DrawPass::set_pass_parent(cx, DrawPassId) chain a pass under the one that samples it (keeping what attached it), insert_after puts a pass between a producer and its parent, detach and withdraw take a pass out of the paint tree (withdraw also drops its draw list and dirt), clear_depth_texture, set_keep_camera_matrix, and set_camera(view, projection) writes the camera and depth matrices with the inverse and marks the uniforms dirty -- the copy fab kept forgot that last step. Gone: the set_pass_camera copies in kinetic_type and fab (libs/render's stays as the SceneState3D adapter over set_camera), and the save-and-restore of a pass's parent around set_color_texture in render_graph's runner, accum and bloom, which nothing resets. Callers moved: draw, widgets gauss chain, raytrace, frametween, fab, libs/render (ssao, fast_gi, gpu lightmap, local shadows, vfx), render_graph, kinetic_type, xr and the box3d, cad and material_lab examples. Checked: cargo check --release on all of them. 2026-10-01 15:10:18 +02:00
Cargo.toml widgets, platform, script, draw: clean builds 7-9 s faster -- rare widgets leave widgets-core, the tweaker leaves the front crate, network and math_aot leave the build chain, and less generated code 2026-09-29 01:55:14 +02:00