ShaderStage.lua 578 B

123456789101112131415161718192021
  1. return {
  2. summary = 'Different shader stages.',
  3. description = [[
  4. Different shader stages. Graphics shaders have a `vertex` and `fragment` stage, and compute
  5. shaders have a single `compute` stage.
  6. ]],
  7. values = {
  8. {
  9. name = 'vertex',
  10. description = 'The vertex stage, which computes transformed vertex positions.'
  11. },
  12. {
  13. name = 'fragment',
  14. description = 'The fragment stage, which computes pixel colors.'
  15. },
  16. {
  17. name = 'compute',
  18. description = 'The compute stage, which performs arbitrary computation.'
  19. }
  20. }
  21. }