RGB Color
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.
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.