D3d_light_enable - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Notation
Description
Enables or disables whether a current light is used in further draw calls. By default lights are disabled when you define them. Also due to a hardware limitation imposed by OpenGL and DirectX no more than 8 regular and directional lights can be used at any one time, Game Maker completely dissallows this but ENIGMA might be able to do more depending on the hardware and graphics library version of the computer running the game.
Parameters
- ind, integer value index of the light
- enable, boolean value whether or not the light should be enabled (true or false)
Return Values
No values are returned from the function.
Example Call
Example of using the function.
NOTOC