Previous: 4.51.2.4.22. ogGetAlpha() To the Table of Contents Next: 4.51.2.4.24. ogGetBPP()
4.51.2.4.22. ogGetAlpha() Table of Contents 4.51.2.4.24. ogGetBPP()

- 4.51.2.4.23. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.4. ogSurface object
4.51.2.4.23. ogGetAlphaMasker()


4.51.2.4.23. ogGetAlphaMasker()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Gets the alpha masker.

Declaration:
  function ogGetAlphaMasker:uInt32;
Remarks:

Returns the inverse mask of the alpha channel. This is used by some internal functions to mask off the alpha level. It is used thus:

  pixel := pixel and ogGetAlphaMasker;
packedPixel would be the same pixel without any alpha information.

Restrictions:

8BPP modes are not in packed pixel formats.








Previous: 4.51.2.4.22. ogGetAlpha() To the Table of Contents Next: 4.51.2.4.24. ogGetBPP()
4.51.2.4.22. ogGetAlpha() Table of Contents 4.51.2.4.24. ogGetBPP()

- 4.51.2.4.23. -