cee::geo::EffectPolygonOffset Class Reference

Effect that moves the triangles into the screen. More...

Public Member Functions

 EffectPolygonOffset ()
 Constructs an empty effect. More...
 
virtual Type type () const
 Returns Effect::POLYGON_OFFSET. More...
 
virtual PtrRef< Effectclone ()
 Clones the effect. More...
 
- Public Member Functions inherited from cee::RefCountedObject
void addRef () const
 Increments the reference count for this object. More...
 
void release () const
 Decrements the reference count for this object. More...
 
int refCount () const
 Returns the reference count for this object. More...
 
void setRefCountZero () const
 Sets the ref count to zero, but DOES NOT delete the object. More...
 

Additional Inherited Members

- Public Types inherited from cee::geo::Effect
enum  Type {
  COLOR, OPACITY, FRONT_AND_BACK_COLOR, FRONT_AND_BACK_OPACITY,
  TEXTURE, EYE_LIFT, POLYGON_OFFSET, HALO,
  LIGHTING, LINE_WIDTH, POINT_SIZE
}
 Enumerator for each of the available effect types. More...
 
- Protected Member Functions inherited from cee::geo::Effect
 Effect ()
 Constructs an empty part effect of a given type. More...
 
Inheritance diagram for cee::geo::EffectPolygonOffset:
cee::geo::Effect cee::RefCountedObject

Detailed Description

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
PartSettings

Constructor & Destructor Documentation

cee::geo::EffectPolygonOffset::EffectPolygonOffset ( )

Constructs an empty effect.

Member Function Documentation

PtrRef< Effect > cee::geo::EffectPolygonOffset::clone ( )
virtual

Clones the effect.

Implements cee::geo::Effect.

Effect::Type cee::geo::EffectPolygonOffset::type ( ) const
virtual