DirectX SDK

Step 1: Create a Textured Surface

[C++]

This section pertains only to application development in Visual Basic. See Direct3D Immediate Mode C/C++ Tutorials.

[Visual Basic]

Direct3D for Visual Basic greatly simplifies the task of creating and managing textures. To prepare, create, and implement system-managed textures in your 3-D scene, follow these steps:

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