Texture Application

Defines a complete set of textures to apply. More...

Data Structures

struct  A3DGraphTextureApplicationData
 TextureApplicationData structure. More...
 

Functions

A3DStatus A3DGlobalGetGraphTextureApplicationData (const A3DUns32 uiIndexTextureApplication, A3DGraphTextureApplicationData *pData)
 Populates the A3DGraphTextureApplicationData structure. More...
 
A3DStatus A3DGlobalInsertGraphTextureApplication (const A3DGraphTextureApplicationData *pData, A3DUns32 *puiIndexTextureApplication)
 Creates a Texture Application from an A3DGraphTextureApplicationData structure in global data. More...
 

Detailed Description

Defines a complete set of textures to apply.

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

See also
Global Data Module, Texture Definition

Function Documentation

◆ A3DGlobalGetGraphTextureApplicationData()

A3DStatus A3DGlobalGetGraphTextureApplicationData ( const A3DUns32  uiIndexTextureApplication,
A3DGraphTextureApplicationData pData 
)

Populates the A3DGraphTextureApplicationData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DGlobalInsertGraphTextureApplication()

A3DStatus A3DGlobalInsertGraphTextureApplication ( const A3DGraphTextureApplicationData pData,
A3DUns32 puiIndexTextureApplication 
)

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

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
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