This topic is now archived and is closed to further replies.


Compressed mipmap texture

Recommended Posts

I create compressed mipmap texture. How can I load to m_pMipMap? D3DXLoadSurfaceFromFile() load only the Level 0 bitmap. Thanks: George Varga The Code: ----------- D3DXCreateTexture( m_pd3dDevice, Width, Height, 10, 0, FMT_DXT1, D3DPOOL_MANAGED, &m_pMipMap ) // For each level D3DXLoadSurfaceFromFile( pSurfaceLevel, NULL, NULL, "Media\\", NULL, D3DX_FILTER_TRIANGLE, 0, &d3dii );

Share this post

Link to post
Share on other sites