Compartilhar via


DDGPESurf::HasAlpha (Windows CE 5.0)

Send Feedback

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

virtual BOOL HasAlpha(void);

Parameters

None.

Return Values

This method 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

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddgpe.h.
Link Library: Ddgpe.lib.

See Also

DDGPESurf Class | DDGPESurf Class Definition

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.