TGLTextureImageAlpha the type for the
imagealpha property of
TGLTexture. It defines what how a texture is made transparent. For example any black parts of a texture can be made transparent.
TGLTextureImageAlpha is the enumerated type:
TGLTextureImageAlpha = (tiaDefault, tiaAlphaFromIntensity,tiaSuperBlackTransparent, tiaLuminance,tiaLuminanceSqrt, tiaOpaque, tiaTopLeftPointColorTransparent,tiaInverseLuminance, tiaInverseLuminanceSqrt);
tiaDefault : transparency is defined as the alpha channel of the texture. Refer to
alpha channel for more information on using the alpha channel
tiaSuperBlackTransparent : parts of the texture that are 100% black (RGB color of (0, 0, 0)) are completely transparent, others are completely opaque. Refer to the article
super black transparency for more information.
tiaTopLeftPointColorTransparent : parts of the texture that are the same color as the
bottom left corner of the texture will be transparent. It is not the top left despite the wording
tiaAlphaFromIntensity : the alpha channel value is deduced from other RGB components intensity (the brighter, the more opaque).
tiaLuminance : the luminance value is calculated for each pixel and used for RGB and Alpha values
tiaLuminanceSqrt : same as tiaLuminance but with an Sqrt(Luminance)
tiaOpaque : alpha channel is uniformously set to 1.0
Unit:
GLTexture∞