Pass:getDimensions

Edit

Returns the dimensions of the textures attached to the render pass.

width, height = Pass:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumber The texture width.
heightnumber The texture height.

Notes

If the pass is not a render pass, this function returns zeros.

See also