GFXD3D8StateBlock Class Reference#include <gfxD3D8StateBlock.h>
Inheritance diagram for GFXD3D8StateBlock:
[legend]List of all members.
Constructor & Destructor Documentation
| GFXD3D8StateBlock::GFXD3D8StateBlock |
( |
const GFXStateBlockDesc & |
desc, |
|
|
LPDIRECT3DDEVICE8 |
d3dDevice | |
|
) |
| | |
| virtual GFXD3D8StateBlock::~GFXD3D8StateBlock |
( |
|
) |
[virtual] |
Member Function Documentation
Called by D3D8 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 GFXD3D8StateBlock::getHashValue |
( |
|
) |
const [virtual] |
Returns the hash value of the desc that created this block.
Implements GFXStateBlock.
| virtual void GFXD3D8StateBlock::zombify |
( |
|
) |
[inline, virtual] |
When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.
Implements GFXResource.
| virtual void GFXD3D8StateBlock::resurrect |
( |
|
) |
[inline, virtual] |
When called the resource should restore all device sensitive information destroyed by zombify().
Implements GFXResource.
Member Data Documentation
|