Microsoft DirectX 9.0

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 Microsoft?DirectX?9.0 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 DirectX 9.0 by using the IDirect3DDevice9::UpdateSurface method, which copies a rectangular subset of pixels.

Note  DirectX 9.0 provides Direct3D extensions (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.

Related Topics

© 2002 Microsoft Corporation. All rights reserved.