.. _group__a3d__tessmarkupflags:

###########################################
Bitmasks for A3DTessMarkupData tessellation
###########################################


   2.0



Sample Use
==========


::

   /*totestifacodereadinamarkup'stessellationdenotesamatrixmode*/
   if((code&kA3DMarkupIsMatrix)!=0)/*thenit'samatrixmode(beginorend)*/
   
   /*toretrievethenumberofinner-codesofanentity*/
   number=code&kA3DMarkupIntegerMask;

To encode color type entities **and**\ the following masks that apply to your color type:

00000100-00000000-00000000-00000000 kA3DMarkupIsExtraData00000001-01100000-00000000-00000000 kA3DMarkupColorMask00000000-00000000-00000000-00000001 Number of additional codes = 1

Here is an example of a code corresponding to a color:

00000101-01100000-00000000-00000001 (In decimal form, this value is 90177537.)

And with no associated doubles, the three codes for a color type are:uiCode[n] = 90177537;uiCode[n+1] = 0; no doublesuiCode[n+2] = id_of_color;

For encoding/decoding extra data types, use macros defined in :ref:`Extra data types for A3DTessMarkupData tessellation <group__a3d__tessmarkupextradata>`\ .


   :ref:`Tessellation for Markups <group__a3d__tessmarkup>`




Index
=====

.. rubric:: Preprocessor Definitions


.. rst-class:: api-xref-list


* :c:macro:`~kA3DMarkupIsMatrix`
* :c:macro:`~kA3DMarkupIsExtraData`
* :c:macro:`~kA3DMarkupIntegerMask`
* :c:macro:`~kA3DMarkupExtraDataType`


.. rst-class:: kind-group kind-preprocessor-definition

.. rubric:: Preprocessor Definitions
   :class: kind-group-title


.. c:macro:: kA3DMarkupIsMatrix

      Bit to denote whether the current entity is a matrix.
      



.. c:macro:: kA3DMarkupIsExtraData

      Bit to denote whether the current entity is extra data (neither matrix nor polyline).
      



.. c:macro:: kA3DMarkupIntegerMask

      Integer mask to retrieve sizes.
      



.. c:macro:: kA3DMarkupExtraDataType

      Mask to get the integer type of the entity.
      




