class EffectPolygonOffset : public Effect

Effect that moves the triangles into the screen.

Useful for primitives that lie in the same plane and would otherwise cause flickering.

May be overridden by the following effects if found further up the stack:

Supported by the following part data:

See also

Part, Effect, and PartSettings

Public Functions


Constructs an empty effect.

virtual Type type() const

Returns Effect::POLYGON_OFFSET.

virtual PtrRef<Effect> clone()

Clones the effect.