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

Function getShapeAttributes

test/unit/webgl/p5.RendererGL.js:428–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

426 test('stroke and other settings are unaffected after filter', function() {
427 let c = myp5.createCanvas(5, 5, myp5.WEBGL);
428 let getShapeAttributes = () => [
429 c.states.ellipseMode,
430 c.drawingContext.imageSmoothingEnabled,
431 c.states.rectMode,
432 c.curStrokeWeight,
433 c.curStrokeCap,
434 c.curStrokeJoin,
435 c.curStrokeColor
436 ];
437 let a1 = getShapeAttributes();
438 let s = myp5.createFilterShader(frag);
439 myp5.filter(s);

Callers 1

p5.RendererGL.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected