Partager via


DDGPESurf::SetColorKey (Compact 2013)

3/26/2014

This method sets the color key for the current surface. This method sets the low and high color key to the same value. Use the SetColorKeyLow and SetColorKeyHigh methods to set the color key to a range of values.

Syntax

virtual void SetColorKey(
  DWORD dwColorKey 
);

Parameters

  • dwColorKey
    The surface's color key.

Return Value

None.

Requirements

Header

ddgpe.h

Library

Ddgpe.lib

See Also

Reference

DDGPESurf Class
DDGPESurf Class Definition