Data Structures

struct  A3DGraphRgbColorData
 RGB Color data. More...
 

Functions

A3DStatus A3DGlobalGetGraphRgbColorData (const A3DUns32 uiIndexRgbColor, A3DGraphRgbColorData *pData)
 Populates the A3DGraphRgbColorData structure. More...
 
A3DStatus A3DGlobalInsertGraphRgbColor (const A3DGraphRgbColorData *pData, A3DUns32 *puiIndexRgbColor)
 Creates a color from A3DGraphRgbColorData structure in global data. More...
 

Detailed Description

Function Documentation

A3DStatus A3DGlobalGetGraphRgbColorData ( const A3DUns32  uiIndexRgbColor,
A3DGraphRgbColorData pData 
)

Populates the A3DGraphRgbColorData structure.

Version
2.0

Structure of three doubles containing values for Red, Green and Blue intensities of current color. These values must be between 0.0 and 1.0.

Note
The index must be a multiple of 3.
Returns
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_DEFAULT_COLOR
A3D_INVALID_COLOR_INDEX
A3D_SUCCESS
A3DStatus A3DGlobalInsertGraphRgbColor ( const A3DGraphRgbColorData pData,
A3DUns32 puiIndexRgbColor 
)

Creates a color from A3DGraphRgbColorData structure in global data.

Version
2.0

This function returns the index (puiIndexRgbColor) of the color in global data. The index returned is not a new index if the same color is already stored.

Returns
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_DEFAULT_COLOR
A3D_INVALID_COLOR_INDEX
A3D_SUCCESS