Partager via


DDGPESurf::HasAlpha (Compact 2013)

3/26/2014

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

See Also

Reference

DDGPESurf Class
DDGPESurf Class Definition