|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
Pixel formats dictate how data for each pixel in surface memory is to be interpreted. DirectDraw uses the DDPIXELFORMATstructure to describe various pixel formats. The DDPIXELFORMATcontains members to describe the following traits of a pixel format:
You can retrieve information about an existing surface's pixel format by calling the IDirectDrawSurface5::GetPixelFormatmethod.
Last updated on Tuesday, May 18, 2004