Skip to content

Commit ff2f8af

Browse files
committed
Add gid property on geometry
1 parent 2b1e0ad commit ff2f8af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/webgl/p5.Geometry.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,6 +2550,13 @@ function geometry(p5, fn){
25502550
* </code>
25512551
* </div>
25522552
*/
2553+
2554+
/**
2555+
* A unique identifier for this geometry. The renderer will use this to cache resources.
2556+
*
2557+
* @property {String} gid
2558+
* @for p5.Geometry
2559+
*/
25532560
}
25542561

25552562
export default geometry;

0 commit comments

Comments
 (0)