Skip to content

Commit 4704868

Browse files
committed
baseComputeShader docs updates
1 parent 1ea0a28 commit 4704868

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/core/p5.Renderer3D.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,10 +2170,14 @@ function renderer3D(p5, fn) {
21702170
};
21712171

21722172
/**
2173-
* Returns the base compute shader.
2173+
* Returns the default shader used for compute operations.
21742174
*
2175-
* Calling `buildComputeShader(shaderFunction)` is equivalent to
2176-
* calling `baseComputeShader().modify(shaderFunction)`.
2175+
* Calling <a href="#/p5/buildComputeShader">`buildComputeShader(shaderFunction)`</a>
2176+
* is equivalent to calling `baseComputeShader().modify(shaderFunction)`.
2177+
*
2178+
* Read <a href="#/p5/buildComputeShader">the `buildComputeShader` reference</a> or
2179+
* call `baseComputeShader().inspectHooks()` for more information on what you can do with
2180+
* the base compute shader.
21772181
*
21782182
* @method baseComputeShader
21792183
* @submodule p5.strands

0 commit comments

Comments
 (0)