init.lua 884 B

123456789101112131415161718192021222324252627282930313233
  1. return {
  2. tag = 'modules',
  3. summary = 'Renders graphics using the GPU.',
  4. description = [[
  5. The graphics module renders graphics and performs computation using the GPU.
  6. Most of the graphics functions are on the `Pass` object.
  7. ]],
  8. sections = {
  9. {
  10. name = 'Objects',
  11. tag = 'graphics-objects'
  12. },
  13. {
  14. name = 'Global State',
  15. tag = 'graphics-global'
  16. },
  17. {
  18. name = 'Work Submission',
  19. tag = 'work-submission',
  20. description = [[
  21. The only way to get the GPU to do anything is to submit `Pass` objects to it. LÖVR submits
  22. the default pass automatically at the end of `lovr.draw`, but work can also be submitted
  23. manually.
  24. ]]
  25. },
  26. {
  27. name = 'System Info',
  28. tag = 'graphics-misc',
  29. description = 'Information about the GPU hardware and the features it supports.'
  30. }
  31. }
  32. }