Lines Matching defs:mesh
219 void GLES11RenderEngine::drawMesh(const Mesh& mesh) {
220 if (mesh.getTexCoordsSize()) {
222 glTexCoordPointer(mesh.getTexCoordsSize(),
224 mesh.getByteStride(),
225 mesh.getTexCoords());
228 glVertexPointer(mesh.getVertexSize(),
230 mesh.getByteStride(),
231 mesh.getPositions());
233 glDrawArrays(mesh.getPrimitive(), 0, mesh.getVertexCount());
235 if (mesh.getTexCoordsSize()) {