Extra data types for A3DTessMarkupData tessellation

Macros

#define A3D_DECODE_EXTRA_DATA(TessCode)   ((TessCode & kA3DMarkupExtraDataType) >> 21)
 
#define A3D_ENCODE_EXTRA_DATA(ExtraDataType, InnerCodes)   ((kA3DMarkupIsExtraData | ExtraDataType) + InnerCodes)
 
#define kA3DMarkupColorMask   0x1600000
 
#define kA3DMarkupCylinderMask   0x1400000
 
#define kA3DMarkupFaceViewMask   0x0C00000
 
#define kA3DMarkupFixedSizeMask   0x1000000
 
#define kA3DMarkupFontMask   0x1A00000
 
#define kA3DMarkupFrameDrawMask   0x0E00000
 
#define kA3DMarkupLineStippleMask   0x1800000
 
#define kA3DMarkupLineWidthMask   0x2200000
 
#define kA3DMarkupPatternMask   0x0000000
 
#define kA3DMarkupPictureMask   0x0200000
 
#define kA3DMarkupPointsMask   0x1E00000
 
#define kA3DMarkupPolygonMask   0x2000000
 
#define kA3DMarkupQuadsMask   0x0600000
 
#define kA3DMarkupSymbolMask   0x1200000
 
#define kA3DMarkupTextMask   0x1C00000
 
#define kA3DMarkupTrianglesMask   0x0400000
 

Detailed Description

Version
2.0

Macro Definition Documentation

◆ kA3DMarkupPatternMask

#define kA3DMarkupPatternMask   0x0000000

Mask to encode pattern type entity.

◆ kA3DMarkupPictureMask

#define kA3DMarkupPictureMask   0x0200000

Mask to encode picture type entity.

◆ kA3DMarkupTrianglesMask

#define kA3DMarkupTrianglesMask   0x0400000

Mask to encode triangles type entity.

◆ kA3DMarkupQuadsMask

#define kA3DMarkupQuadsMask   0x0600000

Mask to encode quads type entity.

◆ kA3DMarkupFaceViewMask

#define kA3DMarkupFaceViewMask   0x0C00000

Mask to encode face view mode.

◆ kA3DMarkupFrameDrawMask

#define kA3DMarkupFrameDrawMask   0x0E00000

Mask to encode frame draw mode.

◆ kA3DMarkupFixedSizeMask

#define kA3DMarkupFixedSizeMask   0x1000000

Mask to encode fixed size mode.

◆ kA3DMarkupSymbolMask

#define kA3DMarkupSymbolMask   0x1200000

Mask to encode symbol type entity.

◆ kA3DMarkupCylinderMask

#define kA3DMarkupCylinderMask   0x1400000

Mask to encode cylinder type entity.

◆ kA3DMarkupColorMask

#define kA3DMarkupColorMask   0x1600000

Mask to encode color type entity.

◆ kA3DMarkupLineStippleMask

#define kA3DMarkupLineStippleMask   0x1800000

Mask to encode line stipple type entity.

◆ kA3DMarkupFontMask

#define kA3DMarkupFontMask   0x1A00000

Mask to encode font type entity.

◆ kA3DMarkupTextMask

#define kA3DMarkupTextMask   0x1C00000

Mask to encode text type entity.

◆ kA3DMarkupPointsMask

#define kA3DMarkupPointsMask   0x1E00000

Mask to encode point type entities.

◆ kA3DMarkupPolygonMask

#define kA3DMarkupPolygonMask   0x2000000

Mask to encode polygonal type entity.

◆ kA3DMarkupLineWidthMask

#define kA3DMarkupLineWidthMask   0x2200000

Mask to encode line width type entity.

◆ A3D_ENCODE_EXTRA_DATA

#define A3D_ENCODE_EXTRA_DATA (   ExtraDataType,
  InnerCodes 
)    ((kA3DMarkupIsExtraData | ExtraDataType) + InnerCodes)

Macro to encode an extra data type for storing in a markup's tessellation.

The ExtraDataType parameter must be set with one of the above markup encoding definitions. The InnerCodes parameter is the number of inner codes associated with the extra data.

◆ A3D_DECODE_EXTRA_DATA

#define A3D_DECODE_EXTRA_DATA (   TessCode)    ((TessCode & kA3DMarkupExtraDataType) >> 21)

Macro to decode the extra data type from a markup's tessellation code.