makepad/libs/render_lines/examples
2026-10-01 18:45:35 +02:00
..
lines_check.rs render, render_lines: typed instance records, and the 3D shaders take the shared sRGB curve (C9, C12) -- TransformTint (#[repr(C)] model matrix + linear tint) is LAYOUT_TRANSFORM_TINT's record: TransformTint::floats gives the packed floats a scene item holds and TransformTint::records reads them back, so the renderer's item path reads typed records and TRANSFORM_TINT_FLOATS and the hand indices go. render_lines: Sprite (pos, size, colour, rotation, birth) is the point record and PointBatch::push takes one, as LineBatch::push takes a Segment. The skinned shader's surface_linear/surface_display and fast GI's decode_srgb are mod.shared's srgb_to_linear / linear_to_srgb (registered before the scene shaders); the display encode now uses the exact 1/2.4 exponent. 2026-10-01 18:45:35 +02:00