pub fn histogram_u8_gpu_profiled(
runtime: &WgpuRuntime,
source: &GpuImage,
channel: u32,
profiler: &mut GpuStageProfiler,
) -> SpatialResult<GpuImageHistogram>Expand description
Counts a resident channel while recording two optional GPU pass timestamps. Requires two unused profiler stages on the same runtime before allocating work.