DXUnPreMultSample function
Converts a DXPMSAMPLE color to DXSAMPLE format.
Syntax
DXSAMPLE DXUnPreMultSample(
_In_ const DXPMSAMPLE &Src
);
Parameters
- Src [in, ref]
A DXPMSAMPLE object that specifies a color value.
Return value
Returns a converted DXSAMPLE value.
Remarks
This function is useful for switching a sample between ARGB32 and PMARGB32 pixel formats.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Dxhelper.h |