GFXD3D9QueryFence Class Reference

#include <gfxD3D9QueryFence.h>

Inheritance diagram for GFXD3D9QueryFence:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXD3D9QueryFence (GFXDevice *device)
virtual ~GFXD3D9QueryFence ()
virtual void issue ()
 This method inserts the fence into the command buffer.
virtual FenceStatus getStatus () const
 This is a non-blocking call to get the status of the fence.
virtual void block ()
 This method will not return until the fence has been processed by the GPU.
virtual void zombify ()
 When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.
virtual void resurrect ()
 When called the resource should restore all device sensitive information destroyed by zombify().
virtual const String describeSelf () const
 The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.

Private Attributes

IDirect3DQuery9 * mQuery

Constructor & Destructor Documentation

GFXD3D9QueryFence::GFXD3D9QueryFence ( GFXDevice device  )  [inline]

virtual GFXD3D9QueryFence::~GFXD3D9QueryFence (  )  [virtual]


Member Function Documentation

virtual void GFXD3D9QueryFence::issue (  )  [virtual]

This method inserts the fence into the command buffer.

Implements GFXFence.

virtual FenceStatus GFXD3D9QueryFence::getStatus (  )  const [virtual]

This is a non-blocking call to get the status of the fence.

See also:
GFXFence::FenceStatus

Implements GFXFence.

virtual void GFXD3D9QueryFence::block (  )  [virtual]

This method will not return until the fence has been processed by the GPU.

Implements GFXFence.

virtual void GFXD3D9QueryFence::zombify (  )  [virtual]

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Implements GFXResource.

virtual void GFXD3D9QueryFence::resurrect (  )  [virtual]

When called the resource should restore all device sensitive information destroyed by zombify().

Implements GFXResource.

virtual const String GFXD3D9QueryFence::describeSelf (  )  const [virtual]

The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.

Implements GFXResource.


Member Data Documentation

IDirect3DQuery9* GFXD3D9QueryFence::mQuery [mutable, private]