Adjusts this pipelines ortho Projection Matrix to use the given dimensions
and resets the uProjectionMatrix
uniform on all bound shaders.
This method is called automatically by the renderer during its resize handler.
name | type | description |
---|---|---|
width | number |
The new width of this WebGL Pipeline. |
height | number |
The new height of this WebGL Pipeline. |
This WebGLPipeline instance.