Table of Contents

MakeRGB15

Creates a 3DO RGB value out of separate red, green, and blue values.

Synopsis

uint32 MakeRGB15 (r, g, b)

Description

This macro creates a 3DO RGB value out of separate red, green, and blue values. The composite RGB value it creates can be written to a bitmap, a CCB's PLUT, or anywhere the default RGB data type is required.

Arguments

The r, g, and b values must all be in the range 0-31.

Return Value

The macro returns a composite RGB value.

Implementation

Macro implemented in graphics.h V20.

Associated File

graphics.h

See Also

MakeRGB15Pair()