.clang-format-glsl 994 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # GLSL-specific rules.
  2. # The rules should be the same as .clang-format, except those explicitly mentioned.
  3. BasedOnStyle: LLVM
  4. AccessModifierOffset: -4
  5. AlignAfterOpenBracket: DontAlign
  6. AlignOperands: DontAlign
  7. AlignTrailingComments:
  8. Kind: Never
  9. OverEmptyLines: 0
  10. AllowAllParametersOfDeclarationOnNextLine: false
  11. BreakConstructorInitializers: AfterColon
  12. ColumnLimit: 0
  13. ConstructorInitializerIndentWidth: 8
  14. ContinuationIndentWidth: 8
  15. Cpp11BracedListStyle: false
  16. IncludeCategories:
  17. - Regex: ^".*"$
  18. Priority: 1
  19. - Regex: ^<.*\.h>$
  20. Priority: 2
  21. - Regex: ^<.*>$
  22. Priority: 3
  23. IndentCaseLabels: true
  24. IndentWidth: 4
  25. JavaImportGroups:
  26. - org.godotengine
  27. - android
  28. - androidx
  29. - com.android
  30. - com.google
  31. - java
  32. - javax
  33. KeepEmptyLinesAtTheStartOfBlocks: false
  34. ObjCBlockIndentWidth: 4
  35. PackConstructorInitializers: NextLine
  36. RemoveSemicolon: false # Differs from base .clang-format
  37. SpacesInLineCommentPrefix:
  38. Minimum: 0
  39. Maximum: -1
  40. Standard: c++20
  41. TabWidth: 4
  42. UseTab: Always