Function ptex_sys::ffi::one_value

source ·
pub fn one_value(data_type: DataType) -> f32
Expand description

Return the value of “1.0” for the specified DataType (1.0 (float), 255.0 (8bit), …).