Wonder-Technology/Wonder.js

View on GitHub
src/run/rtx_path_tracer/infrastructure_layer/data/po/pipeline/PassCPPOType.res

Summary

Maintainability
Test Coverage


type bufferSize = int

type setSlot = int

type staticBindGroupData = {
  setSlot: setSlot,
  bindGroup: IWebGPUCoreDp.bindGroupObject,
}

type pass = {
  sampleCount: int,
  totalSampleCount: int,
  commonBufferData: option<(IWebGPUCoreDp.bufferObject, Js.Typed_array.Uint32Array.t)>,
  resolutionBufferData: option<(IWebGPUCoreDp.bufferObject, Js.Typed_array.Float32Array.t)>,
  pixelBufferData: option<(IWebGPUCoreDp.bufferObject, bufferSize)>,
}