Pass:setWireframe

Enables or disables wireframe rendering. This will draw all triangles as lines while active. It's intended to be used for debugging, since it usually has a performance cost.

Pass:setWireframe(enable)

Arguments

NameTypeDescription
enableboolean Whether wireframe rendering should be enabled.

Returns

Nothing

Notes

Wireframe rendering is disabled by default.

There is currently no way to change the thickness of the lines.

See also