Returns true is the shape contains any materials with accumulation enabled.
| 888 | |
| 889 | // Returns true is the shape contains any materials with accumulation enabled. |
| 890 | bool TSShapeInstance::hasAccumulation() |
| 891 | { |
| 892 | bool result = false; |
| 893 | for ( U32 i = 0; i < mMaterialList->size(); ++i ) |
| 894 | { |
| 895 | BaseMatInstance* mat = mMaterialList->getMaterialInst(i); |
| 896 | if ( mat->hasAccumulation() ) |
| 897 | result = true; |
| 898 | } |
| 899 | return result; |
| 900 | } |
| 901 | |
| 902 | void TSShapeInstance::setUseOwnBuffer() |
| 903 | { |
no test coverage detected