pub fn pbrt_texture(api_state: &mut ApiState, params: ParamSet)