====== MakeRGB15Pair ====== Creates a double 3DO RGB value out of separate red, green, and blue values. ==== Synopsis ==== ''%%uint32 MakeRGB15Pair (r, g, b)%%'' ==== Description ==== This macro creates a double 15-bit 3DO RGB value out of separate red, green, and blue values. The double part of the value comes from creating a 16-bit value and then merging it with a copy of itself shifted over 16 bits. The composite double RGB value this macro creates can be used as an argument ''%%to%%''''%% SetVRAMPages()%%'', or anywhere else that the double RGB data type is required. ==== Arguments ==== * **r** The red value to be included in the RGB composite. This can be any integer value; the value is coerced by the macro to a uint32 value. * **g** The green value to be included in the RGB composite. This can be any integer value; the value is coerced by the macro to a uint32 value. * **b** The blue value to be included in the RGB composite. This can be any integer value; the value is coerced by the macro to a uint32 value. The r, g, and b values must all be in the range 0-31. ==== Return Value ==== The macro returns a composite-double RGB15 value. ==== Implementation ==== Macro implemented in graphics.h V20. ==== Associated File ==== graphics.h ==== See Also ==== ''%%MakeRGB15%%''()