getShader.lua 290 B

12345678910111213
  1. return {
  2. tag = 'graphicsState',
  3. summary = 'Get the active shader.',
  4. description = 'Returns the active shader.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'shader',
  9. type = 'Shader',
  10. description = 'The active shader object, or `nil` if none is active.'
  11. }
  12. }
  13. }