GeForce GTX LED Logo Demo

Started by JeGX, May 16, 2014, 05:17:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

There is a new demo in the code sample pack that shows how to control the LED logo of recent GeForce GTX cards.

The demo is available in the host_api/GEFORCE_GTX_LED/ folder.




The GEFORCE GTX LED is managed by three functions in the gh_gml module:

- gh_gml.geforce_logo_is_illumination_supported()
- gh_gml.geforce_logo_get_illumination()
- gh_gml.geforce_logo_set_illumination()

Here is a code snippet in Lua that checks the support of LED logo and sets the illumination to the max (min=0,  max=100):


gpu_index = 0  -- first GPU
if (gh_gml.geforce_logo_is_illumination_supported(gpu_index) == 1) then
  gh_gml.geforce_logo_set_illumination(gpu_index, 100)
end