setSize method

void setSize(
  1. int width,
  2. int height
)
override
  • Sets the size of the pass. *
    • @param {number} width - The width to set.
      • @param {number} height - The height to set.

Implementation

void setSize(int width, int height ) {
	this.material.uniforms['resolution']['value'].setValues( 1 / width, 1 / height );
}