| 729 | } |
| 730 | |
| 731 | GFXCubemap* ShadowMapParams::getCookieCubeTex() |
| 732 | { |
| 733 | if ( cookie.isNotEmpty() && |
| 734 | ( mCookieCubeTex.isNull() || |
| 735 | cookie != mCookieCubeTex->getPath() ) ) |
| 736 | { |
| 737 | mCookieCubeTex.set( cookie ); |
| 738 | } |
| 739 | else if ( cookie.isEmpty() ) |
| 740 | mCookieCubeTex = NULL; |
| 741 | |
| 742 | return mCookieCubeTex.getPointer(); |
| 743 | } |
| 744 | |
| 745 | void ShadowMapParams::set( const LightInfoEx *ex ) |
| 746 | { |
no test coverage detected