FreeLight()

Syntax

FreeLight(#Light)
Description
Frees the specified #Light. All its associated memory is released and at this point, the object no longer may be used.

Parameters

#Light The light to free. If #PB_All is specified, all the remaining lights are freed.

Return value

None.

Remarks

All remaining lights are automatically freed when the program ends.

See Also

CreateLight()

Supported OS

All

<- DisableLightShadows() - Light Index - GetLightColor() ->