MCPcopy Index your code
hub / github.com/gpujs/gpu.js / getPixels

Method getPixels

src/backend/kernel.js:807–809  ·  view source on GitHub ↗

* @param {Boolean} [flip] * @returns {Uint8ClampedArray}

(flip)

Source from the content-addressed store, hash-verified

805 * @returns {Uint8ClampedArray}
806 */
807 getPixels(flip) {
808 throw new Error(`"getPixels" called on ${ this.constructor.name }`);
809 }
810
811 checkOutput() {
812 if (!this.output || !utils.isArray(this.output)) throw new Error('kernel.output not an array');

Callers 15

test-utils.jsFile · 0.45
outputGraphicalMatrixFunction · 0.45
imageArrayTestFunction · 0.45
getPixelsStandardFunction · 0.45
getPixelsFlippedFunction · 0.45
testGraphicalFunction · 0.45
testGraphicalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected