Microsoft DirectX 8.1 (Visual Basic)

D3DXRenderToSurface

The D3DXRenderToSurface class is used to generalize the process of rendering to surfaces. If the surface is not a render target, a compatible render target is used, and the result is copied to the surface at the end of the scene.

The D3DXRenderToSurface class is obtained by calling the D3DX8.CreateRenderToSurface method.

The methods of the D3DXRenderToSurface class can be organized into the following groups.

Information GetDesc
  GetDevice
Rendering BeginScene
  EndScene