| 115 | } |
| 116 | |
| 117 | void TSMesh::innerRender( TSVertexBufferHandle &vb, GFXPrimitiveBufferHandle &pb ) |
| 118 | { |
| 119 | if ( !vb.isValid() || !pb.isValid() ) |
| 120 | return; |
| 121 | |
| 122 | GFX->setVertexBuffer( vb ); |
| 123 | GFX->setPrimitiveBuffer( pb ); |
| 124 | |
| 125 | for( U32 p = 0; p < mPrimitives.size(); p++ ) |
| 126 | GFX->drawPrimitive( p ); |
| 127 | } |
| 128 | |
| 129 | |
| 130 | void TSMesh::render( TSMaterialList *materials, |
nothing calls this directly
no test coverage detected