Package com.ms.com.directX |
|
 Previous |
 Microsoft Packages |
 Index |
 Next |
Class ddPixelFormat
public final class ddPixelFormat {
public int dwSize;
public int flags;
public int fourCC;
public int count;
public int red_u_mask;
public int green_u_mask;
public int blue_v_mask;
public int alpha_channel_mask;
}
Describes the pixel format of a DirectDrawSurface object for the GetPixelFormat method.
Fields
- dwSize
- Size, in bytes, of this class.
- flags
- One or more values of DDPF_ type.
- fourCC
- FourCC code.
- count
- Depending on flags, this field specifies one of these values:
- RGB bits per pixel (4, 8, 16, 24, or 32),
- YUV bits per pixel (DDBD_4, DDBD_8, DDBD_16, DDBD_24, or DDBD_32),
- Z-buffer bit depth (8, 16, 24, or 32)
- Alpha channel bit depth (DDBD_1, DDBD_2, DDBD_4, or DDBD_8)
- red_u_mask
- Mask for red bits or Y bits.
- green_u_mask
- Mask for green bits or U bits.
- blue_v_mask
- Mask for blue bits or V bits.
- alpha_channel_mask
- Mask for alpha channel.