A3DSDKGlobalData.h

Header file for global data.

Author

Tech Soft 3D

Version

23.0

Date

January 2023

Copyright (c) 2010 - 2023 by Tech Soft 3D, Inc. All rights reserved.

Content

Data Structures

A3DGlobalData

Global data structure.

Functions

A3DGlobalGetPointer()

Gets the global object A3DGlobal .

A3DGlobalGet()

Populates the A3DGlobalData structure.

A3DGlobalIsMaterialTexture()

Determines whether the data at the index uiIndexMaterial in the global array of materials is an A3DGraphTextureApplication or an A3DGraphMaterialData .

A3DGlobalGetFillPatternType()

Gives the FillPattern type of the uiIndexPattern index in the global array of fill patterns.

Functions

A3DStatus A3DGlobalGetPointer(A3DGlobal **ppGlobal)

Gets the global object A3DGlobal.

Version

2.0

Return values
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code

A3DStatus A3DGlobalGet(const A3DGlobal *pGlobal, A3DGlobalData *pData)

Populates the A3DGlobalData structure.

Version

2.0

Return values
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code

A3DStatus A3DGlobalIsMaterialTexture(const A3DUns32 uiIndexMaterial, A3DBool *pbIsTexture)

Determines whether the data at the index uiIndexMaterial in the global array of materials is an A3DGraphTextureApplication or an A3DGraphMaterialData.

Version

2.0

Return values
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code

A3DStatus A3DGlobalGetFillPatternType(const A3DUns32 uiIndexPattern, A3DEEntityType *pePatternType)

Gives the FillPattern type of the uiIndexPattern index in the global array of fill patterns.

A FillPattern type can be one of the following types:

Version

2.0

Return values
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code