OverSample method

Alpha-blends the sample value over the sample at the specified position.


void retVal = object.OverSample(pOverDesc);


  • pOverDesc [in]
    Type: const [DXOVERSAMPLEDESC](aa753428(v=vs.85).md)

    Pointer to a DXOVERSAMPLEDESC structure that holds the position and color of the sample on the destination surface.


This method does not modify the current position of the pointer object.

DXSurface implementations are optimized for opaque colors (alpha = 255). In these cases, this operation is identical to a sample replacement and no blending is done.