| 731 | } |
| 732 | |
| 733 | void PostEffect::_setupStateBlock( const SceneRenderState *state ) |
| 734 | { |
| 735 | if ( mStateBlock.isNull() ) |
| 736 | { |
| 737 | GFXStateBlockDesc desc; |
| 738 | if ( mStateBlockData ) |
| 739 | desc = mStateBlockData->getState(); |
| 740 | |
| 741 | mStateBlock = GFX->createStateBlock( desc ); |
| 742 | } |
| 743 | |
| 744 | GFX->setStateBlock( mStateBlock ); |
| 745 | } |
| 746 | |
| 747 | void PostEffect::_setupConstants( const SceneRenderState *state ) |
| 748 | { |
nothing calls this directly
no test coverage detected