Function Texture.hasAlpha

Returns true if this Texture has an alpha channel.

bool hasAlpha() nothrow @nogc const;