MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / setAttributes

Method setAttributes

src/effects/Effect.js:333–338  ·  view source on GitHub ↗

* Sets the effect attributes. * * Effects that have the same attributes will be executed in the order in which they were registered. Some attributes * imply a higher priority. * * @protected * @param {EffectAttribute} attributes - The attributes.

(attributes)

Source from the content-addressed store, hash-verified

331 */
332
333 setAttributes(attributes) {
334
335 this.attributes = attributes;
336 this.setChanged();
337
338 }
339
340 /**
341 * Returns the fragment shader.

Callers 1

constructorMethod · 0.80

Calls 1

setChangedMethod · 0.95

Tested by

no test coverage detected