setAlphaToCoverage.lua 632 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'pipeline',
  3. summary = 'Enable or disable alpha to coverage.',
  4. description = [[
  5. Sets whether alpha to coverage is enabled. Alpha to coverage factors the alpha of a pixel into
  6. antialiasing calculations. It can be used to get antialiased edges on textures with
  7. transparency. It's often used for foliage.
  8. ]],
  9. arguments = {
  10. enable = {
  11. type = 'boolean',
  12. description = 'Whether alpha to coverage should be enabled.'
  13. }
  14. },
  15. returns = {},
  16. variants = {
  17. {
  18. arguments = { 'enable' },
  19. returns = {}
  20. }
  21. },
  22. notes = 'By default, alpha to coverage is disabled.'
  23. }