MCPcopy Index your code
hub / github.com/processing/p5.js / _createPixelsArray

Method _createPixelsArray

src/webgpu/p5.RendererWebGPU.js:1322–1326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1320 }
1321
1322 _createPixelsArray() {
1323 this.pixels = new Uint8Array(
1324 this.width * this.pixelDensity() * this.height * this.pixelDensity() * 4
1325 );
1326 }
1327
1328 viewport() {}
1329

Callers

nothing calls this directly

Calls 1

pixelDensityMethod · 0.45

Tested by

no test coverage detected