MCPcopy
hub / github.com/processing/p5.js / addRetained

Method addRetained

src/webgl/GeometryBuilder.js:166–168  ·  view source on GitHub ↗

* Adds geometry from the renderer's retained mode into the builder's * combined geometry.

(geometry)

Source from the content-addressed store, hash-verified

164 * combined geometry.
165 */
166 addRetained(geometry) {
167 this.addGeometry(geometry);
168 }
169
170 /**
171 * Cleans up the state of the renderer and returns the combined geometry that

Callers 2

modelMethod · 0.80
_drawGeometryScaledMethod · 0.80

Calls 1

addGeometryMethod · 0.95

Tested by

no test coverage detected