Lines Matching refs:Mesh
245 @Description Loads the mesh data required for this training course into
271 SPODMesh& Mesh = m_Scene.pMesh[i];
272 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride;
274 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW);
278 if (Mesh.sFaces.pData)
281 uiSize = PVRTModelPODCountIndices(Mesh) * sizeof(GLshort);
283 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW);
430 // Camera nodes are after the mesh and light nodes in the array
580 // Load the correct texture for the mesh using our texture lookup table
590 call another function to actually draw the mesh.
612 @Input i32NodeIndex Node index of the mesh to draw
621 // bind the VBO for the mesh