1+ /**
2+ * @module 3D
3+ * @submodule p5.strands
4+ * @for p5
5+ */
6+
17import * as constants from '../core/constants' ;
28import { getStrokeDefs } from '../webgl/enums' ;
39import { DataType } from '../strands/ir_types.js' ;
@@ -53,8 +59,6 @@ function rendererWebGPU(p5, fn) {
5359 * <a href="#/p5/uniformStorage">uniformStorage()</a> to bind it to a shader.
5460 *
5561 * @class p5.StorageBuffer
56- * @module 3D
57- * @submodule p5.strands
5862 * @beta
5963 * @webgpu
6064 */
@@ -3654,8 +3658,6 @@ ${hookUniformFields}}
36543658 * @method createStorage
36553659 * @beta
36563660 * @webgpu
3657- * @module 3D
3658- * @submodule p5.strands
36593661 * @param {Number|Array|Float32Array|Object[] } dataOrCount Either a number specifying the count of floats,
36603662 * an array/Float32Array of floats, or an array of objects describing struct elements.
36613663 * @returns {p5.StorageBuffer } A storage buffer.
@@ -3671,8 +3673,6 @@ ${hookUniformFields}}
36713673 * calling `baseComputeShader().modify(shaderFunction)`.
36723674 *
36733675 * @method baseComputeShader
3674- * @module 3D
3675- * @submodule p5.strands
36763676 * @beta
36773677 * @webgpu
36783678 * @returns {p5.Shader } The base compute shader.
@@ -3768,8 +3768,6 @@ ${hookUniformFields}}
37683768 * ```
37693769 *
37703770 * @method buildComputeShader
3771- * @module 3D
3772- * @submodule p5.strands
37733771 * @beta
37743772 * @webgpu
37753773 * @param {Function } callback A function building a p5.strands compute shader.
@@ -3783,8 +3781,6 @@ ${hookUniformFields}}
37833781 * Dispatches a compute shader to run on the GPU.
37843782 *
37853783 * @method compute
3786- * @module 3D
3787- * @submodule p5.strands
37883784 * @beta
37893785 * @webgpu
37903786 * @param {p5.Shader } shader The compute shader to run.
@@ -3817,8 +3813,6 @@ ${hookUniformFields}}
38173813 * @property {Object } iteration
38183814 * @beta
38193815 * @webgpu
3820- * @module 3D
3821- * @submodule p5.strands
38223816 */
38233817}
38243818
0 commit comments