Enumerating DXT Formats
In Microsoft DirectX, there are two ways for your driver to enumerate pixel formats. The first method enumerates formats that can be used for textures. This method is implemented using the lpTextureFormats member of the D3DHAL_GLOBALDRIVERDATA structure. The second method enumerates formats that can be used for either DDSCAPS_OVERLAY surfaces or DDSCAPS_OFFSCREENPLAIN surfaces. The second method uses the dwNumFourCCCodes member of the DDCORECAPS structure included in the DD_HALINFO structure and the lpdwFourCC array that is also included in the DD_HALINFO structure.
Because DXT formats are primarily intended to be used as textures, your driver enumerates DXT formats only through the first method. There is no need to add DXT formats to the lpdwFourCC array.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for