Copying Surfaces
Microsoft DirectX 9.0 SDK Update (October 2004)

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 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



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.