DirectX SDK

Texture Interfaces and Texture Handles

[Visual Basic]

Note  Information in this topic pertains only to applications written in C++. DirectX for Visual Basic does not use texture handles.

[C++]

Texture handles are obsolete. They were used in applications that utilized the IDirect3D and IDirect3D2 interfaces.

With the IDirect3D7 interface (and the legacy IDirect3D3 interface), you create and use textures through interface pointers to the texture surfaces. You obtain a texture surface interface pointer when you create the texture surface by calling the IDirectDraw7::CreateSurface method. Direct3D supports the blending of up to eight textures onto a primitive at once. For details, see Texture Surface Objects.