Texture Definition

Types

A3DGraphTextureDefinitionData

Functions

A3DStatus

A3DGlobalGetGraphTextureDefinitionData

A3DStatus

A3DGlobalInsertGraphTextureDefinition

Detailed Description

group a3dtexture_definition

Defines a single texture set of parameters, which can be used in a Texture Application.

The Texture definitions are stored in the global data.

See also

Global Data Module.

Function Documentation

A3DStatus A3DGlobalGetGraphTextureDefinitionData(const A3DUns32 uiIndexTextureDefinition, A3DGraphTextureDefinitionData *pData)

Populates the A3DGraphTextureDefinitionData 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 A3DGlobalInsertGraphTextureDefinition(const A3DGraphTextureDefinitionData *pData, A3DUns32 *puiIndexTextureDefinition)

Creates a Texture Definition from an A3DGraphTextureDefinitionData 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