Texture Application

Types

A3DGraphTextureApplicationData

Functions

A3DStatus

A3DGlobalGetGraphTextureApplicationData

A3DStatus

A3DGlobalInsertGraphTextureApplication

Detailed Description

group a3dtexture_application

Defines a complete set of textures to apply.

The texture applications are managed as materials in the global data.

Function Documentation

A3DStatus A3DGlobalGetGraphTextureApplicationData(const A3DUns32 uiIndexTextureApplication, A3DGraphTextureApplicationData *pData)

Populates the A3DGraphTextureApplicationData structure.

Version

2.0

Return values:
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DGlobalInsertGraphTextureApplication(const A3DGraphTextureApplicationData *pData, A3DUns32 *puiIndexTextureApplication)

Creates a Texture Application from an A3DGraphTextureApplicationData structure in global data.

Version

2.0

Return values:
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_DEFAULT_COLOR

  • A3D_INVALID_COLOR_INDEX

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure