Partager via


DDGPESurf::HasAlpha (Windows Embedded CE 6.0)

1/6/2010

This method determines whether the specified surface's pixel format includes an alpha channel.

Syntax

virtual BOOL HasAlpha();

Parameters

None.

Return Value

Returns TRUE if the current surface's pixel format includes alpha data. Otherwise, it returns FALSE.

Remarks

You might need to override this method, if you have defined new surface types that possess an alpha channel.

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

DDGPESurf Class
DDGPESurf Class Definition