Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::Milestone Class Reference

Used by RenderDevice to force the CPU to wait for the GPU to complete for series of commands. More...

#include <Milestone.h>

Inherits G3D::ReferenceCountedObject.

List of all members.

Public Member Functions

const std::string & name () const
void ReferenceCountedObject_zeroWeakPointers ()
 ~Milestone ()

Public Attributes

AtomicInt32 ReferenceCountedObject_refCount
_WeakPtrLinkedListReferenceCountedObject_weakPointer

Friends

class RenderDevice


Detailed Description

Used by RenderDevice to force the CPU to wait for the GPU to complete for series of commands.

Create using RenderDevice::createMilestone. These are equivalent to NVIDIA fences. On ATI cards the semantics are identical but performance is lower.


Constructor & Destructor Documentation

G3D::Milestone::~Milestone (  ) 


Member Function Documentation

const std::string& G3D::Milestone::name (  )  const [inline]

void G3D::ReferenceCountedObject::ReferenceCountedObject_zeroWeakPointers (  )  [inline, inherited]

Automatically called immediately before the object is deleted.

This is not called from the destructor because it needs to be invoked before the subclass destructor.


Friends And Related Function Documentation

friend class RenderDevice [friend]


Member Data Documentation

The long name is to keep this from accidentally conflicting with a subclass's variable name.

Do not use or explicitly manipulate this value--its type may change in the future and is not part of the supported API.

Linked list of all weak pointers that reference this (some may be on the stack!).

Do not use or explicitly manipulate this value.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:47 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo