|
Blender V2.27
|
32 bit color stored as BGRA. More...
#include <Color.h>
Public Member Functions | |
| Color32 (const Color32 &c) | |
| Color32 (unsigned char R, unsigned char G, unsigned char B) | |
| Color32 (unsigned char R, unsigned char G, unsigned char B, unsigned char A) | |
| Color32 (unsigned int U) | |
| void | setRGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A) |
| void | setBGRA (unsigned char B, unsigned char G, unsigned char R, unsigned char A=0xFF) |
| operator unsigned int () const | |
Public Attributes | |
| union { | |
| struct { | |
| unsigned char b | |
| unsigned char g | |
| unsigned char r | |
| unsigned char a | |
| } | |
| unsigned int u | |
| }; | |
32 bit color stored as BGRA.
***** BEGIN GPL LICENSE BLOCK *****
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Contributors: Amorilia (amorilia@gamebox.net)
***** END GPL LICENSE BLOCK *****
1.7.3