Skip to content

Commit

Permalink
Fix link in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Aug 27, 2023
1 parent 0f3e574 commit b14260c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/neuroglancer/webgl/empirical_cdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @file Defines facilities for GPU computation of empirical cumulative distribution functions.
*
* This is based on the technique described in
* https://developer.amd.com/wordpress/media/2012/10/GPUHistogramGeneration_preprint.pdf
* http://shaderwrangler.com/publications/histogram/
*
* In particular, the "scatter" operation required to compute a histogram is performed by
* rendering point primitives.
Expand Down Expand Up @@ -90,7 +90,9 @@ const histogramSamplesPerInstance = 4096;
// of the histogram but also slows down rendering.
const histogramSamples = 2 ** 14;

// Generates a histogram from a single-channel uint8 texture.
/**
* Generates a histogram from a single-channel uint8 texture.
*/
export class TextureHistogramGenerator extends RefCounted {
private shader = this.registerDisposer((() => {
const builder = new ShaderBuilder(this.gl);
Expand Down

0 comments on commit b14260c

Please sign in to comment.