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