Platform SDK: DirectX |
Cube maps can be mipmapped. If you include the DDSCAPS_MIPMAP capability, the system creates each face with attached mipmap surfaces. You might envision the topography of these surfaces as follows:
Applications that create mipmapped cubic-environment maps can access each face by calling the IDirectDrawSurface7::GetAttachedSurface method, passing a one of the flags that begins with "DDSCAPS2_CUBEMAP_" flag to access the corresponding face (as discussed in Accessing Cubic Environment Map Faces). Then, the subordinate mipmap levels can be retrieved by calling the IDirectDrawSurface7::GetAttachedSurface for that face, passing the DDSCAPS_MIPMAP flag.
Applications that create mipmapped cubic-environment maps can access each face by calling the DirectDrawSurface7.GetAttachedSurface method, passing a one of the flags from the CONST_DDSURFACECAPS2FLAGS enumeration that begins with "DDSCAPS2_CUBEMAP_" to access the corresponding face (as discussed in Accessing Cubic Environment Map Faces). Then, the subordinate mipmap levels can be retrieved by calling the DirectDrawSurface7.GetAttachedSurface for that face, passing the DDSCAPS_MIPMAP flag.