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

Method setWrapMode

src/webgl/p5.Texture.js:308–312  ·  view source on GitHub ↗
(wrapX, wrapY)

Source from the content-addressed store, hash-verified

306 }
307
308 setWrapMode(wrapX, wrapY) {
309 this.wrapS = wrapX;
310 this.wrapT = wrapY;
311 this._renderer.setTextureParams(this);
312 }
313}
314
315class MipmapTexture extends Texture {

Callers 4

setupFunction · 0.80
keyPressedFunction · 0.80
p5.Texture.jsFile · 0.80
materialFunction · 0.80

Calls 1

setTextureParamsMethod · 0.45

Tested by

no test coverage detected