getSampleCount.lua 439 B

12345678910111213141516171819
  1. return {
  2. deprecated = true,
  3. tag = 'canvas',
  4. summary = 'Get the antialiasing setting of a render pass.',
  5. description = 'Returns the antialiasing setting of a render pass.',
  6. arguments = {},
  7. returns = {
  8. samples = {
  9. type = 'number',
  10. description = 'The number of samples used for rendering. Currently, will be 1 or 4.'
  11. }
  12. },
  13. variants = {
  14. {
  15. arguments = {},
  16. returns = { 'samples' }
  17. }
  18. }
  19. }