Author Topic: GeForce GTX LED Logo Demo  (Read 3330 times)



0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1320
    • View Profile
    • Geeks3D.com
GeForce GTX LED Logo Demo
« on: May 16, 2014, 05:17:55 PM »
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):

Code: [Select]
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