getSharpen.lua 621 B

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