ShaderType.lua 439 B

12345678910111213141516171819
  1. return {
  2. summary = 'Different types of Shaders.',
  3. description = 'The two types of shaders that can be created.',
  4. values = {
  5. {
  6. name = 'graphics',
  7. description = 'A graphics shader with a vertex and pixel stage.'
  8. },
  9. {
  10. name = 'compute',
  11. description = 'A compute shader with a single compute stage.'
  12. }
  13. },
  14. related = {
  15. 'lovr.graphics.newShader',
  16. 'Shader:getType',
  17. 'ShaderStage'
  18. }
  19. }