Microsoft DirectX 8.0 (C++) |
Cube maps can be mipmapped. If you include the DDSCAPS_MIPMAP capability, the system creates each face with attached mipmap surfaces. You can envision the topography of these surfaces as shown in the following graphic.
Applications that create mipmapped cubic-environment maps can access each face by calling the IDirect3DCubeTexture8::GetCubeMapSurface method. Start by setting the appropriate value from the D3DCUBEMAP_FACES enumerated type, as discussed in Accessing Cubic Environment Map Faces. Next, select the level to retrieve by setting the Level parameter to the mipmap level that you want. Remember that 0 corresponds with the top-level image.