setMeshMode.lua 449 B

12345678910111213141516171819
  1. return {
  2. tag = 'pipeline',
  3. summary = 'Change the way vertices are connected together.',
  4. description = 'Changes the way vertices are connected together when drawing using `Pass:mesh`.',
  5. arguments = {
  6. mode = {
  7. type = 'DrawMode',
  8. description = 'The mesh mode to use.'
  9. }
  10. },
  11. returns = {},
  12. variants = {
  13. {
  14. arguments = { 'mode' },
  15. returns = {}
  16. }
  17. },
  18. notes = 'The default mesh mode is `triangles`.'
  19. }