| 176 | } |
| 177 | |
| 178 | void RendererMesh::unbind(void) const |
| 179 | { |
| 180 | if(m_indexBuffer) |
| 181 | { |
| 182 | m_indexBuffer->unbind(); |
| 183 | } |
| 184 | if(m_instanceBuffer) |
| 185 | { |
| 186 | m_instanceBuffer->unbind(m_numVertexBuffers); |
| 187 | } |
| 188 | for(PxU32 i=0; i<m_numVertexBuffers; i++) |
| 189 | { |
| 190 | m_vertexBuffers[i]->unbind(i); |
| 191 | } |
| 192 | } |
| 193 |
no outgoing calls
no test coverage detected