DirectX SDK

Step 1: Prepare a Textured Surface

[Visual Basic]

The information in this section pertains only to applications written in C and C++. See Direct3D Immediate Mode Visual Basic Tutorials.

[C++]

To properly prepare a system-managed texture in a 3-D scene, follow these steps:

Before creating a texture for a primitive, you need to define the vertices of the primitive along its texture coordinates. This task is defined in Step 1.1: Set the Texture Coordinates.