{"class":{"name":"PIXI.DisplacementFilter","extends":"PIXI.AbstractFilter","static":false,"constructor":true,"parameters":[{"name":"texture","type":["PIXI.Texture"],"help":"The texture used for the displacement map * must be power of 2 texture at the moment","optional":false,"default":null}],"help":"The DisplacementFilter class uses the pixel values from the specified texture (called the displacement map) to perform a displacement of an object.\\nYou can use this filter to apply all manor of crazy warping effects\\nCurrently the r property of the texture is used offset the x and the g property of the texture is used to offset the y."},"consts":[],"methods":{"public":[{"name":"onTextureLoaded","static":false,"returns":null,"help":"Sets the map dimensions uniforms when the texture becomes available.","line":83,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"syncUniforms","static":false,"returns":null,"help":"Syncs the uniforms between the class object and the shaders.","line":65,"public":true,"protected":false,"private":false,"parameters":[],"inherited":true,"inheritedFrom":"PIXI.AbstractFilter"}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"dirty","type":["boolean"],"help":"","inlineHelp":"","line":35,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"map","type":["PIXI.Texture"],"help":"The texture used for the displacement map. Must be power of 2 texture.","inlineHelp":"","line":97,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"offset","type":["Phaser.Point"],"help":"The offset used to move the displacement map.","inlineHelp":"","line":127,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"padding","type":["number"],"help":"","inlineHelp":"","line":41,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"scale","type":["Phaser.Point"],"help":"The multiplier used to scale the displacement result from the map calculation.","inlineHelp":"","line":112,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}