Pass:getDimensions
EditReturns the dimensions of the textures of the Pass's canvas, in pixels.
width, height = Pass:getDimensions()Arguments
None
Returns
| Name | Type | Description |
| width | number | The texture width. |
| height | number | The texture height. |
Notes
If the pass doesn't have a canvas, this function returns zeros.