Lines Matching defs:indexBuffer
1989 device->SetIndices(indexInfo->indexBuffer);
2759 IDirect3DIndexBuffer9 *indexBuffer = NULL;
2764 result = device->CreateIndexBuffer(8, D3DUSAGE_WRITEONLY, D3DFMT_INDEX32, D3DPOOL_DEFAULT, &indexBuffer, 0);
2769 result = indexBuffer->Lock(0, 0, (void**)&data, 0);
2780 result = device->CreateIndexBuffer(4, D3DUSAGE_WRITEONLY, D3DFMT_INDEX16, D3DPOOL_DEFAULT, &indexBuffer, 0);
2785 result = indexBuffer->Lock(0, 0, (void**)&data, 0);
2797 indexBuffer->Unlock();
2798 device->SetIndices(indexBuffer);
2802 indexBuffer->Release();
2818 Buffer *indexBuffer = mState.elementArrayBuffer.get();
2820 indices = static_cast<const GLubyte*>(indexBuffer->data()) + offset;