d3d_light_enable - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
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.
- ind, integer value index of the light
- enable, boolean value whether or not the light should be enabled (true or false)
No values are returned from the function.
Example of using the function.
NOTOC