DirectX SDK |
Pixel formats dictate how data for each pixel in surface memory is to be interpreted. DirectDraw uses the DDPIXELFORMAT structure to describe various pixel formats. The DDPIXELFORMAT contains members to describe the following traits of a pixel format:
You can retrieve information about an existing surface's pixel format by calling the IDirectDrawSurface7::GetPixelFormat method.
Pixel formats dictate how data for each pixel in surface memory is to be interpreted. DirectDraw uses the DDPIXELFORMAT type to describe various pixel formats. The DDPIXELFORMAT contains members to describe the following traits of a pixel format:
You can retrieve information about an existing surface's pixel format by calling the DirectDrawSurface7.GetPixelFormat method.