ColorBuf.h File Reference¶
#include "FastFTOL.h"
#include "Vector.h"
#include "DataType.h"
#include "Macros.h"
#include <math.h>
Include dependency graph for ColorBuf.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes |
|
| union | Color |
| class | ColorBuf |
| Simple RGB and RGBA color buffer where R, G, B and A are represented by byte values. Same as what is stored in the TGA files. More... |
|
Defines |
|
| #define | __COLORBUF_H |
| #define | V_PI 3.1415926535898 |
| #define | BACKGROUNDMASK 0x00FFFFFF |
| #define | MAXCOLOR 255 |
| #define | DEPTH24 24 |
| #define | NUMMIPLEVEL 4 |
| #define | MAKELUMINANCE(red, green, blue) (0.3f*red + 0.59f*green + 0.11f*blue) |
Functions |
|
| void | GammaCorrectColBuf (UBYTE *color, float power) |
Define Documentation¶
|
| Definition at line 3 of file ColorBuf.h. |
|
| Definition at line 21 of file ColorBuf.h. |
|
| Definition at line 23 of file ColorBuf.h. |
#define MAKELUMINANCE
(
red,
green,
blue
)
(0.3f*red + 0.59f*green + 0.11f*blue)
| Definition at line 161 of file ColorBuf.h. |
|
|
| Definition at line 24 of file ColorBuf.h. |
|
Definition at line 19 of file ColorBuf.h. Referenced by GetSpectrumColor(), and GetSpectrumColorVector(). |
Function Documentation¶
|
||||||||||||
Definition at line 145 of file ColorBuf.h. References fast_round(), MAXCOLOR, and MIN. Referenced by ColorBuf::GammaCorrect(). Here is the call graph for this function: |
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.
Generated on Thu Oct 27 11:46:46 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001