Platform SDK: DirectX |
The information in this section pertains only to applications written in C and C++. See Direct3D Immediate Mode Visual Basic Tutorials.
Creating a textured surface from a prepared surface entails the following steps:
Texture surface objects are simply DirectDraw surface objects. For more information on texture surfaces, see Texture Surface Objects.
Before creating a textured surface, you need to retrieve the device's render target. This process is explained in Step 2.1: Retrieve the Render Target.