pub fn pbrt_init( pixelsamples: u32, number_of_threads: u8, cropx0: f32, cropx1: f32, cropy0: f32, cropy1: f32) -> (ApiState, BsdfState)