Overview

Programming Guide

API Reference

A3DGraphStyleData Struct Reference

Style data. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DDouble m_dWidth
 
A3DBool m_bVPicture
 
A3DUns32 m_uiLinePatternIndex
 
A3DBool m_bMaterial
 
A3DUns32 m_uiRgbColorIndex
 
A3DBool m_bIsTransparencyDefined
 
A3DUns8 m_ucTransparency
 
A3DBool m_bSpecialCulling
 
A3DBool m_bFrontCulling
 
A3DBool m_bBackCulling
 
A3DBool m_bNoLight
 
A3DERenderingMode m_eRenderingMode
 

Detailed Description

Style data.

Version
2.0

Some of the members in this structure have paired interactions in which one member influences the behavior of the next member. See the member descriptions for details.

Use the A3DGlobalData and dedicated global access functions to get graphic settings in the global arrays.

See also
Global Data Module

Field Documentation

A3DUns16 A3DGraphStyleData::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.

A3DDouble A3DGraphStyleData::m_dWidth

Line width in mm.

A3DBool A3DGraphStyleData::m_bVPicture

A value of true indicates the m_uiLinePatternIndex member (next) references a vpicture in the global arrays (see A3DGraphVPicturePatternData). A value of false indicates it references a line pattern (see A3DGraphLinePatternData).

A3DUns32 A3DGraphStyleData::m_uiLinePatternIndex

Index in the global array as indicated in the m_bVPicture member (above).

A3DBool A3DGraphStyleData::m_bMaterial

A value of true indicates the m_uiRgbColorIndex member (next) references a material in the global arrays (see A3DGraphMaterialData or A3DGraphTextureApplicationData). A value of false indicates it references a color (see A3DGraphRgbColorData).

A3DUns32 A3DGraphStyleData::m_uiRgbColorIndex

Index in the global array as indicated in the m_bMaterial member (above).

A3DBool A3DGraphStyleData::m_bIsTransparencyDefined

A value of true indicates the m_ucTransparency member (next) is defined. A value of false indicates the transparency is the default value (255).

A3DUns8 A3DGraphStyleData::m_ucTransparency

From 0 (transparent) to 255 (opaque). Default value is 255.

A3DBool A3DGraphStyleData::m_bSpecialCulling

A value of true indicates special culling defined. See descriptions for m_bFrontCulling, m_bBackCulling, and m_bBackCulling.

A3DBool A3DGraphStyleData::m_bFrontCulling

If m_bSpecialCulling is TRUE and if m_bFrontCulling is TRUE, font culling is active.

A3DBool A3DGraphStyleData::m_bBackCulling

If m_bSpecialCulling is TRUE and if m_bBackCulling is TRUE, back-culling is active.

A3DBool A3DGraphStyleData::m_bNoLight

A value of true indicates material light is sensible.

A3DERenderingMode A3DGraphStyleData::m_eRenderingMode

Rendering mode, see enum above.