#include <xsi_vertexcolor.h>
Class Description
This structure represents a vertex RGBA color. Unlike CColor, each component
value of
CVertexColor is a byte.
CVertexColor can be created from Triangle
and TriangleVertex
objects.
- See also:
-
CVertexColorArray
List of all
members.
Constructor & Destructor Documentation
Copy constructor.
- Parameters:
-
in_color |
Constant CColor object |
CVertexColor |
( |
unsigned char |
in_rc, |
|
|
unsigned char |
in_gc, |
|
|
unsigned char |
in_bc, |
|
|
unsigned char |
in_ac |
|
) |
|
[inline] |
Constructor. Creates a
CVertexColor object from r,g,b,a values.
- Parameters:
-
in_rc |
Red component value. |
in_gc |
Green component value. |
in_bc |
Blue component value. |
in_ac |
Alpha component value. |
Member Function Documentation
bool operator== |
( |
const CVertexColor & |
in_vertexcolor |
) |
const [inline] |
Equality operator.
- Parameters:
-
- Returns:
- true if they are equal; false if they are not equal.
bool operator!= |
( |
const CVertexColor & |
in_vertexcolor |
) |
const [inline] |
Inequality operator.
- Parameters:
-
- Returns:
- true if they are not equal; false if they are equal.
Member Data Documentation
The documentation for this struct was generated from the following
file: