osg::PointSprite Class Reference

Inheritance diagram for osg::PointSprite:

osg::StateAttribute osg::Object osg::Referenced List of all members.

Public Member Functions

 PointSprite ()
 PointSprite (const PointSprite &texenv, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_StateAttribute (osg, PointSprite, POINTSPRITE)
virtual int compare (const StateAttribute &sa) const
virtual bool getModeUsage (ModeUsage &usage) const
virtual bool checkValidityOfAssociatedModes (osg::State &) const
virtual bool isTextureAttribute () const
virtual void apply (osg::State &state) const

Static Public Member Functions

static bool isPointSpriteSupported (unsigned int context)

Protected Member Functions

virtual ~PointSprite (void)

Detailed Description

PointSprite base class which encapsulates enabling of point sprites .


Constructor & Destructor Documentation

osg::PointSprite::PointSprite  )  [inline]
 

osg::PointSprite::PointSprite const PointSprite texenv,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY
[inline]
 

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::PointSprite::~PointSprite void   )  [inline, protected, virtual]
 


Member Function Documentation

virtual void osg::PointSprite::apply osg::State state  )  const [virtual]
 

apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.

Implements osg::StateAttribute.

virtual bool osg::PointSprite::checkValidityOfAssociatedModes osg::State  )  const [virtual]
 

Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. Return true if all associated modes are valid.

Reimplemented from osg::StateAttribute.

virtual int osg::PointSprite::compare const StateAttribute sa  )  const [virtual]
 

return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Implements osg::StateAttribute.

virtual bool osg::PointSprite::getModeUsage ModeUsage &  usage  )  const [inline, virtual]
 

static bool osg::PointSprite::isPointSpriteSupported unsigned int  context  )  [static]
 

virtual bool osg::PointSprite::isTextureAttribute  )  const [inline, virtual]
 

Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit.

Reimplemented from osg::StateAttribute.

osg::PointSprite::META_StateAttribute osg  ,
PointSprite  ,
POINTSPRITE 
 


The documentation for this class was generated from the following file:
Generated on Fri Oct 13 17:03:08 2006 for openscenegraph by  doxygen 1.4.6