Original Post
I would like to know how to speed up batchloading dds sprite pages as intended in the following peice of code. will combining them all into one flat file help, by skipping file handle/header detection? thanks in advance if you can help! ------------------------------------------------------------------------------- for(int i=first;i<=last;i++) { sprintf(ss, "./sprites/%s/sheet_%d%d.dds", folder, i / 10, i % 10 ); D3DXCreateTextureFromFileEx( g_pApp->m_pd3dDevice, _T(ss), D3DX_DEFAULT, D3DX_DEFAULT, 0, 0, d3dFormat, D3DPOOL_DEFAULT, D3DX_FILTER_TRIANGLE|D3DX_FILTER_MIRROR, D3DX_FILTER_TRIANGLE|D3DX_FILTER_MIRROR, 0, NULL, NULL, sprPages[iTexFileCount++] ); } -------------------------------------------------------------------------------