src/run/rtx_path_tracer/domain_layer/domain/pipeline/pipeline/service/PassCPDoService.res
let setSampleCount = sampleCount => PassCPRepo.setSampleCount(sampleCount)
let getCommonBufferDataSize = commonBufferData =>
commonBufferData->Js.Typed_array.Uint32Array.byteLength
let getResolutionBufferDataSize = resolutionBufferData =>
resolutionBufferData->Js.Typed_array.Float32Array.byteLength