getFilter.lua 734 B

12345678910111213141516171819202122232425262728293031
  1. return {
  2. summary = 'Get the filter mode of the Sampler.',
  3. description = 'Returns the filter mode of the Sampler.',
  4. arguments = {},
  5. returns = {
  6. min = {
  7. type = 'FilterMode',
  8. description = 'The filter mode used when the texture is minified.'
  9. },
  10. mag = {
  11. type = 'FilterMode',
  12. description = 'The filter mode used when the texture is magnified.'
  13. },
  14. mip = {
  15. type = 'FilterMode',
  16. description = 'The filter mode used to select a mipmap level.'
  17. }
  18. },
  19. variants = {
  20. {
  21. arguments = {},
  22. returns = { 'min', 'mag', 'mip' }
  23. }
  24. },
  25. related = {
  26. 'Sampler:getWrap',
  27. 'Sampler:getCompareMode',
  28. 'Sampler:getAnisotropy',
  29. 'Sampler:getMipmapRange'
  30. }
  31. }