A3DGraphTextureApplicationData

Fields

A3DUns32

m_uiMaterialIndex

A3DUns32

m_uiTextureDefinitionIndex

A3DInt32

m_iUVCoordinatesIndex

A3DBool

m_bHasPeriodJump

A3DVector2dData

m_sSurfaceDomainCenterUV

A3DUns32

m_uiNextTextureApplicationIndex

Detailed Description

struct A3DGraphTextureApplicationData

TextureApplicationData structure.

The UV Coordinates Index defines which UV coordinates to consider in an A3DTess3DData structure. The material index should correspond to a material stored in global data. This material defines the basic material parameters of the texture. The texture definition index must correspond to a texture definition stored in global data.

Version

2.0

Public Members

A3DUns32 m_uiMaterialIndex

Associated A3DGraphMaterialData in global data (A3DGlobalData) materials.

A3DUns32 m_uiTextureDefinitionIndex

Texture definition index (Texture Definition).

A3DInt32 m_iUVCoordinatesIndex

The set of UV coordinates to consider on the A3DTess3DData.

A3DBool m_bHasPeriodJump

Indicates if there is a period jump to manage.

If so, m_sSurfaceDomainCenterUV is defined.

A3DVector2dData m_sSurfaceDomainCenterUV

UV coordinates of surface domain center in case of period jump to manage.

A3DUns32 m_uiNextTextureApplicationIndex

Index in global data materials of the optional next texture unit.

A3D_DEFAULT_MATERIAL_INDEX = no other texture.