CullMode.lua 531 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Different ways of doing face culling.',
  3. description = 'The different ways of doing triangle backface culling.',
  4. values = {
  5. {
  6. name = 'none',
  7. description = 'Both sides of triangles will be drawn.'
  8. },
  9. {
  10. name = 'back',
  11. description = 'Skips rendering the back side of triangles.'
  12. },
  13. {
  14. name = 'front',
  15. description = 'Skips rendering the front side of triangles.'
  16. }
  17. },
  18. related = {
  19. 'Winding',
  20. 'Pass:setCullMode',
  21. 'Pass:setWinding'
  22. }
  23. }