DirectX SDK |
This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.
The EnumTex sample demonstrates the recommended way of enumerating texture formats.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\Dolphin
Executable: None.
No executable is included with the SDK because this sample does nothing visible.
It is important to enumerate textures correctly so that applications remain compatible as new texture formats become available. The sample code shows how to do this.