Skip to main content
srgb_to_linear_u8
unlit_
wgpu_
test_
util
0.1.0-dev.3
unlit_wgpu_test_util
Function
srgb_
to_
linear_
u8
Copy item path
Source
pub fn srgb_to_linear_u8(c:
u8
) ->
f32
Expand description
Decode an sRGB-encoded byte to linear light.