setSharpen.lua 624 B

12345678910111213141516171819202122232425
  1. return {
  2. summary = 'Set the sharpening mode of the layer.',
  3. description = [[
  4. Sets the sharpen mode for the layer. This will improve quality when the layer is rendered at a
  5. larger size than its texture resolution, at the cost of performance. Sharpening is currently
  6. only supported on Quest devices.
  7. ]],
  8. arguments = {
  9. sharpen = {
  10. type = 'boolean',
  11. description = 'Whether sharpening should be enabled.'
  12. }
  13. },
  14. returns = {},
  15. variants = {
  16. {
  17. arguments = { 'sharpen' },
  18. returns = {}
  19. }
  20. },
  21. related = {
  22. 'Layer:getSupersample',
  23. 'Layer:setSupersample'
  24. }
  25. }