GFXGeneralFence Class Reference

#include <gfxFence.h>

Inheritance diagram for GFXGeneralFence:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXGeneralFence (GFXDevice *device)
virtual ~GFXGeneralFence ()
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.

Static Public Member Functions

static void texManagerCallback (GFXTexCallbackCode code, void *userData)

Private Member Functions

void _init ()

Private Attributes

bool mInitialized
S32 mCallbackHandle
GFXTextureTargetRef mRenderTarget
GFXTexHandle mRTTexHandle
GFXStateBlockRef mRenderSB

Constructor & Destructor Documentation

GFXGeneralFence::GFXGeneralFence ( GFXDevice device  )  [inline]

virtual GFXGeneralFence::~GFXGeneralFence (  )  [virtual]


Member Function Documentation

void GFXGeneralFence::_init (  )  [private]

virtual void GFXGeneralFence::issue (  )  [virtual]

This method inserts the fence into the command buffer.

Implements GFXFence.

virtual FenceStatus GFXGeneralFence::getStatus (  )  const [inline, virtual]

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

See also:
GFXFence::FenceStatus

Implements GFXFence.

virtual void GFXGeneralFence::block (  )  [virtual]

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

Implements GFXFence.

static void GFXGeneralFence::texManagerCallback ( GFXTexCallbackCode  code,
void userData 
) [static]

virtual void GFXGeneralFence::zombify (  )  [virtual]

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

Implements GFXResource.

virtual void GFXGeneralFence::resurrect (  )  [virtual]

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

Implements GFXResource.

virtual const String GFXGeneralFence::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