| 573 | } |
| 574 | |
| 575 | bool Primitive::arePrimitiveVariablesValid() const |
| 576 | { |
| 577 | for( PrimitiveVariableMap::const_iterator it=variables.begin(); it!=variables.end(); it++ ) |
| 578 | { |
| 579 | if ( !isPrimitiveVariableValid( it->second ) ) |
| 580 | { |
| 581 | return false; |
| 582 | } |
| 583 | } |
| 584 | |
| 585 | return true; |
| 586 | } |
| 587 | |
| 588 | PrimitiveVariable::Interpolation Primitive::inferInterpolation( size_t numElements ) const |
| 589 | { |