Home| base |src.lib|graphic|fbuffer| FrameBufferColor Index

FrameBufferColor

Syntax
unsigned int FrameBufferColor(unsigned int r,unsigned int g,unsigned int b, unsigned int a);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferColor function creates an integer representation of a color.

The red, green, blue and alpha component of the color are given by the arguments r, g, b and a. The values of these arguments range from zero to (255).

Returns
Returns an integer representation of the color on success. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None