Copying Surfaces

The term blit is shorthand for "bit block transfer," which is the process of transferring blocks of data from one place in memory to another. The blitting device driver interface (DDI) continues to be used in Direct3D 9 as the primary mechanism for moving large rectangles of pixels on a per-frame basis, the mechanism behind the copy-oriented IDirect3DDevice9::Present method. The transportation of artwork in the blit operation is performed by the IDirect3DDevice9::UpdateTexture method. Artwork can also be copied in Direct3D 9 by using the IDirect3DDevice9::UpdateSurface method, which copies a rectangular subset of pixels.

Note    Direct3D 9 provides D3DX functions that enable you to load artwork from files, apply color conversion, and resize artwork. For more information about the available functions see Texturing Functions.

See Also

IDirect3DDevice9::StretchRect, IDirect3DDevice9::StretchRect