Skip to content

SdlColor

Create a color.

Definition

Unit: Neslib.Sdl3.Video

function SdlColor(const AR, AG, AB: Byte; const AA: Byte = 255): TSdlColor; inline

Parameters

AR: Byte : The red value.

AG: Byte : The green value.

AB: Byte : The blue value.

AA: Byte = 255 : (Optional) alpha value. Defaults to 255

Returns

TSdlColor: The color

Remarks

It is safe to call this function from any thread.