setFont.lua 431 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'pipeline',
  3. summary = 'Set the font.',
  4. description = 'Sets the font used for `Pass:text`.',
  5. arguments = {
  6. font = {
  7. type = 'Font',
  8. description = 'The Font to use when rendering text.'
  9. }
  10. },
  11. returns = {},
  12. variants = {
  13. {
  14. arguments = { 'font' },
  15. returns = {}
  16. }
  17. },
  18. related = {
  19. 'Pass:text',
  20. 'lovr.graphics.newFont',
  21. 'lovr.graphics.getDefaultFont'
  22. }
  23. }