Pass:getDimensions
EditReturns the dimensions of the textures attached to the render pass.
width, height = Pass:getDimensions()
Arguments
None
Returns
Name | Type | Description |
width | number | The texture width. |
height | number | The texture height. |
Notes
If the pass is not a render pass, this function returns zeros.
See also
Pass:getWidth
Pass:getHeight
Pass:getViewCount
lovr.graphics.getPass
lovr.system.getWindowDimensions
lovr.headset.getDisplayDimensions
Pass