DirectX SDK

EnumTex Sample

[Visual Basic]

This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.

[C++]

Description

The EnumTex sample demonstrates the recommended way of enumerating texture formats.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\Dolphin

Executable: None.

User's Guide

No executable is included with the SDK because this sample does nothing visible.

Programming Notes

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.