GFXD3D9StateBlock Class Reference#include <gfxD3D9StateBlock.h>
Inheritance diagram for GFXD3D9StateBlock:
[legend]List of all members.
Constructor & Destructor Documentation
| GFXD3D9StateBlock::GFXD3D9StateBlock |
( |
const GFXStateBlockDesc & |
desc, |
|
|
LPDIRECT3DDEVICE9 |
d3dDevice | |
|
) |
| | |
| virtual GFXD3D9StateBlock::~GFXD3D9StateBlock |
( |
|
) |
[virtual] |
Member Function Documentation
Called by D3D9 device to active this state block.
- Parameters:
-
| oldState | The current state, used to make sure we don't set redundant states on the device. Pass NULL to reset all states. |
| virtual U32 GFXD3D9StateBlock::getHashValue |
( |
|
) |
const [virtual] |
Returns the hash value of the desc that created this block.
Implements GFXStateBlock.
| virtual void GFXD3D9StateBlock::zombify |
( |
|
) |
[inline, virtual] |
When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.
Implements GFXResource.
| virtual void GFXD3D9StateBlock::resurrect |
( |
|
) |
[inline, virtual] |
When called the resource should restore all device sensitive information destroyed by zombify().
Implements GFXResource.
Member Data Documentation
|