Function encode_gpu_length
Source pub fn encode_gpu_length(length: Length) -> (u32, f32)
Expand description
Encodes a CSS Length into a 2-bit GPU sizing mode tag and scalar float payload.
§Arguments
Length - Source layout length specification.
§Returns
(u32, f32) - Pair of (GPU_SIZE_MODE_*, numeric_payload).