Skip to content

Commit

Permalink
Update StorageBufferNode.js
Browse files Browse the repository at this point in the history
Fix JSDoc.
  • Loading branch information
Mugen87 authored Jan 29, 2025
1 parent 7d4b4ae commit 9e17a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nodes/accessors/StorageBufferNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class StorageBufferNode extends BufferNode {
* Constructs a new storage buffer node.
*
* @param {StorageBufferAttribute|StorageInstancedBufferAttribute|BufferAttribute} value - The buffer data.
* @param {String|Struct?} [bufferType=null] - The buffer type (e.g. `'vec3'`).
* @param {(String|Struct)?} [bufferType=null] - The buffer type (e.g. `'vec3'`).
* @param {Number} [bufferCount=0] - The buffer count.
*/
constructor( value, bufferType = null, bufferCount = 0 ) {
Expand Down Expand Up @@ -366,7 +366,7 @@ export default StorageBufferNode;
*
* @function
* @param {StorageBufferAttribute|StorageInstancedBufferAttribute|BufferAttribute} value - The buffer data.
* @param {String|Struct?} [type=null] - The buffer type (e.g. `'vec3'`).
* @param {(String|Struct)?} [type=null] - The buffer type (e.g. `'vec3'`).
* @param {Number} [count=0] - The buffer count.
* @returns {StorageBufferNode}
*/
Expand Down

0 comments on commit 9e17a9a

Please sign in to comment.