Pass:getWidth

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

width = Pass:getWidth()

Arguments

None

Returns

NameTypeDescription
widthnumber The texture width.

Notes

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

See also